octobercms/october · error · ApplicationException

backend::lang.list.missing_parent_definition

Error message

backend::lang.list.missing_parent_definition

What it means

Error "backend::lang.list.missing_parent_definition" thrown in octobercms/october.

Source

Thrown at modules/backend/behaviors/ListController.php:344

        $this->makeLists();
    }

    /**
     * index_onDelete bulk deletes records.
     * @return void
     */
    public function index_onDelete()
    {
        if (method_exists($this->controller, 'onDelete')) {
            return call_user_func_array([$this->controller, 'onDelete'], func_get_args());
        }

        // Establish the list definition
        $definition = post('definition', $this->primaryDefinition);

        if (!isset($this->listDefinitions[$definition])) {
            throw new ApplicationException(Lang::get('backend::lang.list.missing_parent_definition', compact('definition')));
        }

        $this->config = $this->controller->listGetConfig($definition);

        // Check conditions for deletion
        if (!$this->listCanDeleteRecords()) {
            throw new ForbiddenException;
        }

        // Validate checked identifiers
        $checkedIds = post('checked');

        if (!$checkedIds || !is_array($checkedIds) || !count($checkedIds)) {
            Flash::error(Lang::get('backend::lang.list.delete_selected_empty'));
            return $this->controller->listRefresh();
        }

        // Create the model

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/behaviors/ListController.php:344 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/8f97333ecb598af4. Report an issue: GitHub.