Array ( [categoryID] => 378 [!id] => 1518 [volume] => ) 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 'LIMIT 0,12' at line 1

MYSQL QUERY ERROR: «SELECT SQL_CALC_FOUND_ROWS p.id,p.url link,p.title,p.img mainImage, p.quantity, p.page_active, p.availability, p.short_descr text1,p.price,p.oldPrice,p.flags isNew FROM goods p WHERE p.active=1 AND id NOT IN(1518) AND (p.page IN (378) OR p.pages LIKE '%|378,%') ORDER BY p.ord LIMIT 14 OFFSET 1 LIMIT 0,12»

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/protehnology/data/www/protehnology.ru/core/Mysql.php:62 Stack trace: #0 /var/www/protehnology/data/www/protehnology.ru/model/Product.php(212): core\Mysql->fetchAssoc() #1 /var/www/protehnology/data/www/protehnology.ru/controller/ShopController.php(533): model\Product::getListByFilter(Array, 'RAND(371476)', 12) #2 /var/www/protehnology/data/www/protehnology.ru/core/core.php(623): controller\ShopController->actionProduct() #3 /var/www/protehnology/data/www/protehnology.ru/index.php(215): core\runApplication(Array) #4 {main} thrown in /var/www/protehnology/data/www/protehnology.ru/core/Mysql.php on line 62