OK, some progress. Just stripped out the getModel stuff, I've no idea why it fails, but probably for the same reason as FolderModel::getTable() fails:
The error is from the second check:
An error has occurred.
0 Failed to create table instance for type Folder.
Code:
public function getTable($type = 'Folder', $prefix = 'Conlucra\\Component\\Chat\\Administrator\\Table', $config = []) { // Ensure the table class exists $tableClass = $prefix . '\\' . $type . 'Table'; if (!class_exists($tableClass)) { throw new \RuntimeException(sprintf('Table class %s not found.', $tableClass)); } // Create the table instance $table = Table::getInstance($type, $prefix, $config); if (!$table) { throw new \RuntimeException(sprintf('Failed to create table instance for type %s.', $type)); } return $table; }
An error has occurred.
0 Failed to create table instance for type Folder.
Statistics: Posted by david0058 — Sun Dec 22, 2024 7:48 pm