{"record":{"id":"a960e3d6d42f1102","repo":"octobercms/october","slug":"invalid-data-source-handler-name","errorCode":null,"errorMessage":"Invalid data source handler name ","messagePattern":"Invalid data source handler name ","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/dashboard/classes/ReportDataSourceBase.php","lineNumber":154,"sourceCode":"    /**\n     * getAvailableMetrics returns the available metrics for this data source.\n     * Metrics are measures of data, e.g. \"page views\".\n     * @return ReportMetric[]\n     */\n    public function getAvailableMetrics(): array\n    {\n        return $this->metrics;\n    }\n\n    /**\n     * runHandler runs a data source event handler.\n     * @param string $handlerName The name of the handler.\n     * @return mixed The data to pass to the client-side handler caller.\n     */\n    public function runHandler(string $handlerName)\n    {\n        if (!preg_match('/^on/i', $handlerName)) {\n            throw new ApplicationException('Invalid data source handler name ' . $handlerName);\n        }\n\n        if (!method_exists($this, $handlerName)) {\n            throw new ApplicationException('Data source handler method doesn\\'t exist ' . $handlerName);\n        }\n\n        return $this->$handlerName();\n    }\n\n    /**\n     * registerDimension registers a new dimension.\n     * @param ReportDimension $dimension Dimension to register\n     * @return ReportDimension Returns the added dimension, for chaining\n     */\n    protected function registerDimension(ReportDimension $dimension): ReportDimension\n    {\n        if ($this->dimensions === null) {\n            $this->dimensions = [];","sourceCodeStart":136,"sourceCodeEnd":172,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/dashboard/classes/ReportDataSourceBase.php#L136-L172","documentation":"Error \"Invalid data source handler name \" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/dashboard/classes/ReportDataSourceBase.php:154 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-08-21T11:28:35.574Z"}