Warning: Error while sending QUERY packet. PID=23446 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 p.product_id, p.price, (SELECT MIN(pd.price) FROM fn_product_discount pd WHERE pd.product_id = p.product_id AND pd.customer_group_id = '1' AND pd.quantity > '0' AND ((pd.date_start = '0000-00-00' OR pd.date_start < '2024-12-22') AND (pd.date_end = '0000-00-00' OR pd.date_end > '2024-12-22'))) AS discount, (SELECT MIN(ps.price) FROM fn_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < '2024-12-22') AND (ps.date_end = '0000-00-00' OR ps.date_end > '2024-12-22'))) AS special FROM fn_product p LEFT JOIN fn_product_to_category p2c ON (p.product_id = p2c.product_id) LEFT JOIN fn_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p2s.store_id = '0' AND p.status = '1' AND p.price > '0' AND p2c.category_id = '11044' AND p.date_available <= '2024-12-22' AND p.product_id IN (169,436,1009,1759,1761,1765,1766,1767, in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 40