octobercms/october · error · SystemException

The Table widget is not configured to use the server data so

Error message

The Table widget is not configured to use the server data source.

What it means

Error "The Table widget is not configured to use the server data source." thrown in octobercms/october.

Source

Thrown at modules/backend/widgets/Table.php:224

    protected function isClientDataSource(): bool
    {
        return $this->dataSource instanceof \Backend\Widgets\Table\ClientMemoryDataSource;
    }

    //
    // Event handlers
    //

    /**
     * onServerGetRecords
     */
    public function onServerGetRecords()
    {
        // Disable asset broadcasting
        $this->controller->flushAssets();

        if ($this->isClientDataSource()) {
            throw new SystemException('The Table widget is not configured to use the server data source.');
        }

        $count = post('count');

        // Oddly, JS may pass false as a string (@todo)
        if ($count === 'false') {
            $count = false;
        }

        return [
            'records' => $this->dataSource->getRecords(post('offset'), $count),
            'count' => $this->dataSource->getCount()
        ];
    }

    /**
     * onServerSearchRecords
     */

View on GitHub (pinned to b608633a7e)

When it happens

Trigger: Thrown at modules/backend/widgets/Table.php:224 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/c73f488c2fc8d945. Report an issue: GitHub.