{"record":{"id":"262b905c3987a94a","repo":"octobercms/october","slug":"data-source-handler-method-doesn-t-exist","errorCode":null,"errorMessage":"Data source handler method doesn't exist ","messagePattern":"Data source handler method doesn't exist ","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/dashboard/classes/ReportDataSourceBase.php","lineNumber":158,"sourceCode":"     */\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 = [];\n        }\n\n        $knownDimension = array_filter(\n            $this->dimensions,","sourceCodeStart":140,"sourceCodeEnd":176,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/dashboard/classes/ReportDataSourceBase.php#L140-L176","documentation":"Error \"Data source handler method doesn't exist \" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/dashboard/classes/ReportDataSourceBase.php:158 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"}