Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT * FROM oc_product_discount WHERE product_id = '396507' 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/endy/data/www/smartmaster.su/system/storage/modification/system/library/db/mysqli.php:47 Stack trace: #0 /var/www/endy/data/www/smartmaster.su/system/library/db.php(16): DB\MySQLi->query('SELECT * FROM o...', Array) #1 /var/www/endy/data/www/smartmaster.su/system/IMDBOptimizer/Cache/IMDBOCacheProcessor.php(613): DB->query('SELECT * FROM o...') #2 /var/www/endy/data/www/smartmaster.su/system/storage/modification/catalog/model/catalog/product.php(577): IMDBOCacheProcessor->query('SELECT * FROM o...') #3 /var/www/endy/data/www/smartmaster.su/system/storage/modification/system/engine/loader.php(181): ModelCatalogProduct->getProductDiscounts('396507') #4 /var/www/endy/d in /var/www/endy/data/www/smartmaster.su/system/storage/modification/system/library/db/mysqli.php on line 47