Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />SELECT AVG(rating) AS total FROM oc_p_review pr LEFT JOIN oc_p_review_to_store pr2s ON (pr.p_review_id = pr2s.p_review_id) WHERE pr.language_id = '1' AND pr.product_id = '35236' AND pr.rating > 0 AND pr.status = '1' AND pr2s.store_id = '0' in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/annacosm/data/www/annacosmetics.ru/system/library/db.php(45): DB\MySQLi->query('SELECT AVG(rati...')
#1 /var/www/annacosm/data/www/annacosmetics.ru/catalog/model/extension/module/p_review.php(299): DB->query('SELECT AVG(rati...')
#2 /var/www/annacosm/data/storage-anna1/modification/system/engine/loader.php(248): ModelExtensionModulePReview->getRating('35236')
#3 /var/www/annacosm/data/www/annacosmetics.ru/system/engine/proxy.php(47): Loader->{closure}(Array, Array)
#4 /var/www/annacosm/data/storage-anna1/modification/catalog/controller/product/category.php(623): Proxy->__call('getRating', Array in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php on line 40
Fatal error: Uncaught Exception: Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `oc_session` SET session_id = '4c5a69fab8a144ffe2c8843c1c', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\"}', expire = '2024-10-31 23:29:20' in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/annacosm/data/www/annacosmetics.ru/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...')
#1 /var/www/annacosm/data/www/annacosmetics.ru/system/library/session/db.php(32): DB->query('REPLACE INTO `o...')
#2 /var/www/annacosm/data/www/annacosmetics.ru/system/library/session.php(81): Session\DB->write('4c5a69fab8a144f...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /var/www/annacosm/data/www/annacosmetics.ru/system/library/db/mysqli.php on line 40