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 '?)' at line 1 in /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/DataBaseController.php:68
Stack trace:
#0 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/DataBaseController.php(68): PDO->query('\r\n\t\t\t\tSELECT DI...')
#1 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/categories/CategoriesClass.php(60): app\DataBaseController::run('\r\n\t\t\t\tSELECT DI...', Array)
#2 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/inc/start.php(113): app\categories\CategoriesClass->getCategoriesOnMainPage(false)
#3 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/index.php(25): include('/var/www/porn-n...')
#4 {main}
thrown in /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/DataBaseController.php on line 68