Warning: Error while sending QUERY packet. PID=28312 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 (24,124,126,141,240,257,483,576,613,1017,1089,3212,3214,3225,3227,3234,3235,3242,3243,3247,3250,3251,3262,3263,3267,3277,3282,3291,3294,3295,3298,3299,3301,3304,3305,3306,3313,3314,3315,3316,3320,3324,3332,3333,3336,3339,3340,3341,3349,3352,3354,3355,3358,3364,3365,3374,3375,3383,3384,3387,3389,3392,3396,3398,3403,3407,3410,3414,3416,3417,3419,3421,3422,3425,3427,3435,3440,3445,3448,3450,3470,3471,3476,7336,9535,10558,10563,10564,10565,10567,10569,10570,10572,10574,10579,10580,10586,10591,105 in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 40