Warning: [mysql error 1055] Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'db341162_cat_galerie.piwigo_images.date_creation' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT DATE_FORMAT(date_creation, '%Y%m') as period,
COUNT(distinct id) as count FROM piwigo_images
INNER JOIN piwigo_image_category ON id = image_id
WHERE (category_id NOT IN (101,113,122,133)) AND date_creation IS NOT NULL
GROUP BY period
ORDER BY YEAR(date_creation) DESC, MONTH(date_creation) ASC in /flex/storage/caen-airsoft-team.fr/site/galerie/include/dblayer/functions_mysqli.inc.php on line 830

Fatal error: Call to a member function fetch_assoc() on boolean in /flex/storage/caen-airsoft-team.fr/site/galerie/include/dblayer/functions_mysqli.inc.php on line 211