Fatal error: Uncaught exception 'PDOException' with message '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 id' at line 1' in /home/users/p/pemenergo/domains/pem-energo.ru/components/db.php:34
Stack trace:
#0 /home/users/p/pemenergo/domains/pem-energo.ru/components/db.php(34): PDOStatement->execute(Array)
#1 /home/users/p/pemenergo/domains/pem-energo.ru/controllers/controller-katalog.php(62): DB::run('SELECT * FROM c...')
#2 /home/users/p/pemenergo/domains/pem-energo.ru/controllers/controller-katalog.php(215): getItemsList(NULL, NULL, NULL)
#3 /home/users/p/pemenergo/domains/pem-energo.ru/components/router.php(43): include('/home/users/p/p...')
#4 /home/users/p/pemenergo/domains/pem-energo.ru/index.php(12): Router::run()
#5 {main}
thrown in /home/users/p/pemenergo/domains/pem-energo.ru/components/db.php on line 34