Warning: mysqli::query(): MySQL server has gone away in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 18Warning: mysqli::query(): Error reading result set's header in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 18
Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT SUM(quantity) as total FROM fn_cart WHERE api_id = '0' AND customer_id = '0' AND session_id = '4kl3hnhkue4qupp5fduf6ksa54'' in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php:40
Stack trace:
#0 /var/www/www-root/data/www/vsefarkopy.ru/system/library/db.php(16): DB\MySQLi->query('SELECT SUM(quan...', Array)
#1 /var/www/www-root/data/www/vsefarkopy.ru/system/library/cart/cart.php(373): DB->query('SELECT SUM(quan...')
#2 /var/www/www-root/data/www/vsefarkopy.ru/system/storage/modification/catalog/controller/common/cart.php(61): Cart\Cart->countProducts()
#3 [internal function]: ControllerCommonCart->index(Array)
#4 /var/www/www-root/data/www/vsefarkopy.ru/system/storage/modification/system/engine/action.php(51): call_user_func_array(Array, Array)
#5 /var/www/www-root/data/www/vsefarkopy.ru/system/storage/modification/system/engine/loader.php(24): Action->execute(Object(Registry), A in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 40