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 MySQL server version for the right syntax to use near ', is_in_dir, active, title, title_short, alias, url_cover FROM category WHERE ca' at line 1 in /home/lrcpjmk/ecosources/model/DbModel.php:109
Stack trace:
#0 /home/lrcpjmk/ecosources/model/DbModel.php(109): PDOStatement->execute(Array)
#1 /home/lrcpjmk/ecosources/core/showcase/Category.php(149): Model\DbModel->queryAll('orderBy', Array)
#2 /home/lrcpjmk/ecosources/core/showcase/Category.php(176): Core\Showcase\Category::getAllCategories()
#3 /home/lrcpjmk/ecosources/controller/directory/DirectoryController.php(61): Core\Showcase\Category::getAllCategoriesById()
#4 [internal function]: Controller\Directory\DirectoryController->showPage('jura-energie-so...')
#5 /home/lrcpjmk/ecosources/core/router/Route.php(88): call_user_func_array(Array, Array)
#6 /home/lrcpjmk/ecosources/core/router/Router.php(81): in /home/lrcpjmk/ecosources/model/DbModel.php on line 109