Warning: Error while sending QUERY packet. PID=4420 in /home/t/terminb9/tehnotrest.ru/public_html/system/storage/modification/system/library/db/mysqli.php on line 25 Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away
Error No: 2006
SELECT * FROM oc_product_discount WHERE product_id = '42747' AND customer_group_id = '1' AND quantity > 1 AND ((date_start = '0000-00-00' OR date_start < NOW()) AND (date_end = '0000-00-00' OR date_end > NOW())) ORDER BY quantity ASC, priority ASC, price ASC' in /home/t/terminb9/tehnotrest.ru/public_html/system/storage/modification/system/library/db/mysqli.php:47 Stack trace: #0 /home/t/terminb9/tehnotrest.ru/public_html/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /home/t/terminb9/tehnotrest.ru/public_html/system/storage/modification/catalog/model/catalog/product.php(476): DB->query('SELECT * FROM o...') #2 [internal function]: ModelCatalogProduct->getProductDiscounts('42747') #3 /home/t/terminb9/tehnotrest.ru/public_html/system/storage/modification/system/engine/loader.php(178): call_user_func_array(Array, Array) #4 [internal function]: Loader->{closure}(Array, Array) #5 /ho in /home/t/terminb9/tehnotrest.ru/public_html/system/storage/modification/system/library/db/mysqli.php on line 47