octobercms/october · error · ApplicationException

Please specify some columns to export.

Error message

Please specify some columns to export.

What it means

Error "Please specify some columns to export." thrown in octobercms/october.

Source

Thrown at modules/backend/behaviors/importexportcontroller/ActionExport.php:139

    }

    /**
     * getExportColumns
     */
    protected function getExportColumns()
    {
        if ($this->exportColumns !== null) {
            return $this->exportColumns;
        }

        $columnConfig = $this->getConfig('export[list]');

        $columns = $this->makeListColumns($columnConfig, $this->exportGetModel());

        $columns = $this->controller->importExportExtendColumns($columns, 'export');

        if (empty($columns)) {
            throw new ApplicationException(__("Please specify some columns to export."));
        }

        return $this->exportColumns = $columns;
    }

    /**
     * makeExportFormatFormWidget
     */
    protected function makeExportFormatFormWidget()
    {
        if (!$this->getConfig('export') || $this->getConfig('export[useList]')) {
            return null;
        }

        $widgetConfig = $this->makeConfig('~/modules/backend/behaviors/importexportcontroller/partials/fields_export.yaml');
        $widgetConfig->model = $this->exportGetModel();
        $widgetConfig->alias = 'exportUploadForm';

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/behaviors/importexportcontroller/ActionExport.php:139 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/5bfa9ee61f4fcbb6. Report an issue: GitHub.