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 COUNT(DISTINCT p.product_id) AS total FROM fn_product_to_category p2c LEFT JOIN fn_product p ON (p2c.product_id = p.product_id) LEFT JOIN fn_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN fn_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id = '11012' AND p.product_id IN (383,909,916,3222,3240,3254,3255,3289,3300,3343,3360,3361,3363,3368,3369,3377,3393,3429,3432,3442,3444,3462,8874,9376,9419,9421,9423,9428,9429,10555,10557,10560,10562,10571,10575,10577,10584,10588,10606,10607,10608,10610,10611,10633,10636,10640,10642)' 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 COUNT(DI...', Array)
#1 /var/www/www-root/data/www/vsefarko in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 40