{"record":{"id":"14ae915bde1787a5","repo":"octobercms/october","slug":"cms-lang-component-method-not-found","errorCode":null,"errorMessage":"cms::lang.component.method_not_found","messagePattern":"cms::lang\\.component\\.method_not_found","errorType":"exception","errorClass":"BadMethodCallException","httpStatus":null,"severity":"error","filePath":"modules/cms/classes/ComponentBase.php","lineNumber":367,"sourceCode":"    /**\n     * __call dynamically handles calls into the controller instance.\n     * @param string $method\n     * @param array $parameters\n     * @return mixed\n     */\n    public function __call($method, $parameters)\n    {\n        try {\n            return parent::__call($method, $parameters);\n        }\n        catch (BadMethodCallException $ex) {\n        }\n\n        if (method_exists($this->controller, $method)) {\n            return call_user_func_array([$this->controller, $method], $parameters);\n        }\n\n        throw new BadMethodCallException(Lang::get('cms::lang.component.method_not_found', [\n            'name' => get_class($this),\n            'method' => $method\n        ]));\n    }\n\n    /**\n     * __toString returns the component's alias, used by __SELF__\n     */\n    public function __toString()\n    {\n        return $this->alias;\n    }\n\n    //\n    // Internals\n    //\n\n    /**","sourceCodeStart":349,"sourceCodeEnd":385,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/cms/classes/ComponentBase.php#L349-L385","documentation":"Error \"cms::lang.component.method_not_found\" thrown in octobercms/october.","triggerScenarios":"Thrown at modules/cms/classes/ComponentBase.php:367 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"}