Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_product_discount WHERE product_id = '1579' 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 /var/www/spsnabru/data/www/sp-snab.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/spsnabru/data/www/sp-snab.ru/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array)
#1 /var/www/spsnabru/data/www/sp-snab.ru/system/storage/modification/catalog/model/catalog/product.php(553): DB->query('SELECT * FROM o...')
#2 [internal function]: ModelCatalogProduct->getProductDiscounts('1579')
#3 /var/www/spsnabru/data/www/sp-snab.ru/vqmod/vqcache/vq2-system_storage_modification_system_engine_loader.php(181): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /var/www/spsnabru/data/www/sp-snab. in /var/www/spsnabru/data/www/sp-snab.ru/system/library/db/mysqli.php on line 40