Fatal error: Uncaught exception 'Exception' with message 'Error: Lost connection to MySQL server during query<br />Error No: 2013<br />SELECT * FROM `oc_product_stat` WHERE `ip` LIKE '3.134.90.44' AND product_id = '19386' AND DATE(date_added) >= '2024-05-02' AND DATE(date_added) <= '2024-05-02'' in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/www-root/data/www/transagregat.ru/system/library/db.php(45): DB\MySQLi->query('SELECT * FROM `...')
#1 /var/www/www-root/data/www/transagregat.ru/system/storage/modification/catalog/model/catalog/product.php(7): DB->query('SELECT * FROM `...')
#2 [internal function]: ModelCatalogProduct->updateViewed(Array)
#3 /var/www/www-root/data/www/transagregat.ru/system/storage/modification/system/engine/loader.php(248): call_user_func_array(Array, Array)
#4 [internal function]: Loader->{closure}(Array, Array)
#5 /var/www/www-root/data/www/transagregat.ru/system/engine/proxy.php(47): call_user_func_array(Object(Closure), Array)
#6 /var/ww in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php on line 40
Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />REPLACE INTO `oc_session` SET session_id = '2358c268cebbe70ab6e04dfc4c', `data` = '{\"language\":\"ru-ru\",\"currency\":\"RUB\"}', expire = '2024-05-03 06:52:04'' in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/www-root/data/www/transagregat.ru/system/library/db.php(45): DB\MySQLi->query('REPLACE INTO `o...')
#1 /var/www/www-root/data/www/transagregat.ru/system/library/session/db.php(32): DB->query('REPLACE INTO `o...')
#2 /var/www/www-root/data/www/transagregat.ru/system/library/session.php(81): Session\DB->write('2358c268cebbe70...', Array)
#3 [internal function]: Session->close()
#4 {main}
thrown in /var/www/www-root/data/www/transagregat.ru/system/library/db/mysqli.php on line 40