string(523) "SELECT p_photo.id AS photo_id, sp.name, sp.id, sp.id_razd, sp.artikul, sp.pricerozn, sp.status_new, sp.status_product_week, sp.status_hit, sp.sale_value, sp.comment FROM ru_sections_prod AS sp LEFT JOIN ru_sections_prod_photo AS p_photo ON sp.id=p_photo.id_item WHERE sp.deleted=0 AND sp.hide=0 AND sp.count>0 AND (NOT p_photo.id IS NULL) AND sp.id_razd IN (1,3560,3556,3557,3558,3559,3562,3563,3564,3565,3566,3604,3607,3608,3609,3610,3611,3612,3621) AND 1=1 AND 1=1 GROUP BY sp.id ORDER BY sp.id DESC LIMIT 0, 15" array(3) { [0]=> string(5) "42000" [1]=> int(1055) [2]=> string(233) "Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'marymea_db.p_photo.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by" }