octobercms/october · error · SystemException
The Table widget data source class "%s" is could not be foun
Error message
The Table widget data source class "%s" is could not be found.
What it means
Error "The Table widget data source class "%s" is could not be found." thrown in octobercms/october.
Source
Thrown at modules/backend/widgets/Table.php:79
public function init()
{
$this->columns = $this->getConfig('columns', []);
$this->fieldName = $this->getConfig('fieldName', $this->alias);
$this->recordsKeyFrom = $this->getConfig('keyFrom', 'id');
$dataSourceClass = $this->getConfig('dataSource');
if (!strlen($dataSourceClass)) {
throw new SystemException('The Table widget data source is not specified in the configuration.');
}
if (array_key_exists($dataSourceClass, $this->dataSourceAliases)) {
$dataSourceClass = $this->dataSourceAliases[$dataSourceClass];
}
if (!class_exists($dataSourceClass)) {
throw new SystemException(sprintf('The Table widget data source class "%s" is could not be found.', $dataSourceClass));
}
$this->dataSource = new $dataSourceClass($this->recordsKeyFrom);
// Load data into the client memory data source on POST
if (Request::method() == 'POST' && $this->isClientDataSource()) {
if (strpos($this->fieldName, '[') === false) {
$requestData = post($this->fieldName . 'TableData');
}
else {
$requestData = post($this->fieldName . '[TableData]');
}
if ($requestData) {
$requestData = json_decode($requestData, true);
}
if ($requestData) {View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/widgets/Table.php:79 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/7291268a631147b5.
Report an issue: GitHub.