Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/categories/CategoriesClass.php on line 55

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 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(58): app\DataBaseController::run('\r\n\t\t\t\tSELECT DI...', Array) #2 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/inc/start.php(108): app\categories\CategoriesClass->getCategoriesOnMainPage('21') #3 /var/www/porn-new-prt1/data/www/pornoprostitutok.com/index.php(10): include('/var/www/porn-n...') #4 {main} thrown in /var/www/porn-new-prt1/data/www/pornoprostitutok.com/app/DataBaseController.php on line 68