octobercms/october · error · ApplicationException
The specified widget is not found.
Error message
The specified widget is not found.
What it means
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.
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
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/backend/widgets/ReportContainer.php:447 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/61044504e61a1795.
Report an issue: GitHub.
Appendix: source
Thrown at modules/backend/widgets/ReportContainer.php:447
protected function resetWidgets()
{
$this->resetWidgetsUserPreferences();
$this->reportsDefined = false;
$this->defineReportWidgets();
}
/**
* findWidgetByAlias
*/
protected function findWidgetByAlias($alias)
{
$this->defineReportWidgets();
$widgets = $this->reportWidgets;
if (!isset($widgets[$alias])) {
throw new ApplicationException('The specified widget is not found.');
}
return $widgets[$alias]['widget'];
}
/**
* getWidgetPropertyConfig
*/
protected function getWidgetPropertyConfig($widget)
{
$properties = $widget->defineProperties();
$property = [
'property' => 'ocWidgetWidth',
'title' => __("Width :columns", ['columns' => '(1-12)']),
'description' => __("The widget width, a number between 1 and 10."),
'type' => 'dropdown',
'validationPattern' => '^[0-9]+$',View on GitHub (pinned to b608633a7e)