Warning: Undefined array key 0 in /htdocs/app/Controller/Client/RubriqueController.php on line 628

Warning: Attempt to read property "id" on null in /htdocs/app/Controller/Client/RubriqueController.php on line 628

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY RAND() LIMIT 6' at line 6 in /htdocs/core/Database/MysqlDataBase.php:46 Stack trace: #0 /htdocs/core/Database/MysqlDataBase.php(46): PDO->query('SELECT p.*, c.t...') #1 /htdocs/core/Table/Table.php(118): Core\Database\MysqlDataBase->request_('SELECT p.*, c.t...', NULL, 'App\\Entity\\Clie...', false) #2 /htdocs/app/Table/Client/PostsTable.php(94): Core\Table\Table->query('SELECT p.*, c.t...') #3 /htdocs/app/Controller/Client/RubriqueController.php(628): App\Table\Client\PostsTable->aussi_(NULL) #4 /htdocs/index.php(66): App\Controller\Client\RubriqueController->single(Array, 3) #5 {main} thrown in /htdocs/core/Database/MysqlDataBase.php on line 46