Fatal error: Uncaught Ip\Exception\Db: 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 p.isVisible = 1 AND p.isDeleted = 0 LIMIT 1' at line 4 in /var/www/vhosts/sunrise-spa.ru/httpdocs/Plugin/Shop/Model.php:355 Stack trace: #0 /var/www/vhosts/sunrise-spa.ru/httpdocs/Plugin/Shop/Model.php(355): Ip\Db->fetchRow('SELECT MAX(sp.p...') #1 /var/www/vhosts/sunrise-spa.ru/httpdocs/Plugin/Shop/Model.php(1027): Plugin\Shop\Model::get_products(Array, Array) #2 /var/www/vhosts/sunrise-spa.ru/httpdocs/Plugin/Shop/Slot.php(60): Plugin\Shop\Model::get_sub_products(Array, Array) #3 [internal function]: Plugin\Shop\Slot::ShopCatalog(Array) #4 /var/www/vhosts/sunrise-spa.ru/httpdocs/Ip/Internal/Dispatcher/JobDispatcher.php(39): call_user_func('\\Plugin\\Shop\\Sl...', Array) #5 /var/www/vhosts/sunrise-spa.ru/httpdocs/Ip/Dispatcher.php(113): Ip\Internal\Dispatcher\JobDispatcher->handle('ShopCata in /var/www/vhosts/sunrise-spa.ru/httpdocs/Plugin/Shop/Model.php on line 355