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 ') and DisplayOff=0)) group by p.Id order by p.Priority asc limit 0,' at line 11 in /var/www/mk-profy.ru/addons/Connect/Connect.php:51 Stack trace: #0 /var/www/mk-profy.ru/addons/Connect/Connect.php(51): PDOStatement->execute(Array) #1 /var/www/mk-profy.ru/control/config/config_functions.php(107): PPS\Connect\ConnectPPS->fetch('select SQL_CALC...') #2 /var/www/mk-profy.ru/control/add_class.php(858): ServiceMethods->query('select SQL_CALC...', 'auto') #3 /var/www/mk-profy.ru/inc/templates/extensions/StartPack.php(73): ext->getProductsList('Products.Displa...', '', '', 'p.Priority asc', '500', '1') #4 /var/www/mk-profy.ru/index.php(151): require_once('/var/www/mk-pro...') #5 {main}