Some of the Table objects in your application were created by instantiating "Cake\ORM\Table" instead of any other specific subclass.
This could be the cause for this exception. Auto-Tables are created for you under the following circumstances:
Please try correcting the issue for the following table aliases:
} |
|
try { |
|
$statement = $this->_connection->execute($sql, $params); |
|
} catch (PDOException $e) { |
|
throw new DatabaseException($e->getMessage(), 500, $e); |
|
} |
|
foreach ($statement->fetchAll('assoc') as $row) { |
|
$this->_dialect->{$convertMethod}($schema, $row); |
|
} |
* @return \Cake\Database\StatementInterface |
|
*/ |
|
public function prepare(Query|string $query): StatementInterface |
|
{ |
|
$statement = $this->getPdo()->prepare($query instanceof Query ? $query->sql() : $query); |
|
|
|
$typeMap = null; |
|
if ($query instanceof SelectQuery && $query->isResultsCastingEnabled()) { |
|
$typeMap = $query->getSelectTypeMap(); |
If you want to customize this error message, create templates/Error/error400.ctp