octobercms/october · error · ApplicationException
List used in :class has no list columns defined.
Error message
List used in :class has no list columns defined.
What it means
Error "List used in :class has no list columns defined." thrown in octobercms/october.
Source
Thrown at modules/backend/widgets/Lists.php:970
* defineListColumns builds an array of list columns with keys as the column name
* and values as a ListColumn object
*/
protected function defineListColumns(): array
{
if (!isset($this->columns) || !is_array($this->columns)) {
$this->columns = [];
}
if ($this->columns) {
$this->addColumns($this->columns);
}
else {
$this->addColumnsFromModel();
}
if (!$this->allColumns) {
$class = get_class($this->model instanceof Model ? $this->model : $this->controller);
throw new ApplicationException(Lang::get('backend::lang.list.missing_columns', compact('class')));
}
/**
* @event backend.list.extendColumns
* Provides an opportunity to modify the columns of a List widget
*
* Example usage:
*
* Event::listen('backend.list.extendColumns', function ($listWidget) {
* // Only for the User controller
* if (!$listWidget->getController() instanceof \Backend\Controllers\Users) {
* return;
* }
*
* // Only for the User model
* if (!$listWidget->model instanceof \Backend\Models\User) {
* return;
* }View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/widgets/Lists.php:970 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/cb90924a722daa71.
Report an issue: GitHub.