{"record":{"id":"61044504e61a1795","repo":"octobercms/october","slug":"the-specified-widget-is-not-found","errorCode":null,"errorMessage":"The specified widget is not found.","messagePattern":"The specified widget is not found\\.","errorType":"exception","errorClass":"ApplicationException","httpStatus":null,"severity":"error","filePath":"modules/backend/widgets/ReportContainer.php","lineNumber":447,"sourceCode":"    protected function resetWidgets()\n    {\n        $this->resetWidgetsUserPreferences();\n\n        $this->reportsDefined = false;\n\n        $this->defineReportWidgets();\n    }\n\n    /**\n     * findWidgetByAlias\n     */\n    protected function findWidgetByAlias($alias)\n    {\n        $this->defineReportWidgets();\n\n        $widgets = $this->reportWidgets;\n        if (!isset($widgets[$alias])) {\n            throw new ApplicationException('The specified widget is not found.');\n        }\n\n        return $widgets[$alias]['widget'];\n    }\n\n    /**\n     * getWidgetPropertyConfig\n     */\n    protected function getWidgetPropertyConfig($widget)\n    {\n        $properties = $widget->defineProperties();\n\n        $property = [\n            'property' => 'ocWidgetWidth',\n            'title' => __(\"Width :columns\", ['columns' => '(1-12)']),\n            'description' => __(\"The widget width, a number between 1 and 10.\"),\n            'type' => 'dropdown',\n            'validationPattern' => '^[0-9]+$',","sourceCodeStart":429,"sourceCodeEnd":465,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/widgets/ReportContainer.php#L429-L465","documentation":"Lookup guard in findWidgetByAlias (reached from onUpdateWidget): after ensuring report widget definitions are loaded, it checks the requested alias against the reportWidgets registry. A missing key means the dashboard holds no widget under that alias — stale preferences referencing a removed widget, a typo in the alias, or a request for a widget on a different dashboard.","triggerScenarios":"Thrown at modules/backend/widgets/ReportContainer.php:447 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use the exact alias of a widget currently defined on the dashboard","Reset dashboard widget preferences if they reference a widget that no longer exists","Re-add the widget so it is registered under the expected alias"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","contentChangedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}