Warning: mysqli::query(): MySQL server has gone away in /hsphere/local/home/amartins59/zonaoptica.pt/system/library/db/mysqli.php on line 18 Warning: mysqli::query(): Error reading result set's header in /hsphere/local/home/amartins59/zonaoptica.pt/system/library/db/mysqli.php on line 18 Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away
Error No: 2006
DELETE FROM go_cart WHERE customer_id = '0' AND date_added < DATE_SUB(NOW(), INTERVAL 1 HOUR)' in /hsphere/local/home/amartins59/zonaoptica.pt/system/library/db/mysqli.php:40 Stack trace: #0 /hsphere/local/home/amartins59/zonaoptica.pt/system/library/db.php(16): DB\MySQLi->query('DELETE FROM go_...', Array) #1 /hsphere/local/home/amartins59/zonaoptica.pt/system/storage/modification/system/library/cart/cart.php(17): DB->query('DELETE FROM go_...') #2 /hsphere/local/home/amartins59/zonaoptica.pt/catalog/controller/startup/startup.php(165): Cart\Cart->__construct(Object(Registry)) #3 [internal function]: ControllerStartupStartup->index() #4 /hsphere/local/home/amartins59/zonaoptica.pt/system/storage/modification/system/engine/action.php(44): call_user_func_array(Array, Array) #5 /hsphere/local/home/amartins59/zonaoptica.pt/system/engine/front.php(34): Action->execute(Object(Registry)) #6 /hsphere/local/home/am in /hsphere/local/home/amartins59/zonaoptica.pt/system/library/db/mysqli.php on line 40