Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ASC, file ASC, id ASC' at line 6 SELECT DISTINCT id FROM piwigo_images INNER JOIN piwigo_image_category ON id = image_id WHERE category_id IN (40,49,71,72,87,88,131,132,249,283,284,285,286,330,331,332,333,334,349,350,389,547,548,549,550,589,590,591,597,622,623,624,625,640,671,672,673,693,703,775,776,777,809,810,817,818,827,828,838,850,872,873,874,876,877,929,931,943,944,945,1012,1013,1058,1094,1095,1096,1100,1121,1122,1230,1231,1232,1294,1348,1349,1498,1499,1500,1501,1568,1569,1570,1573,1623,1624,1625,1626,1829,1984,1985,1986,1987,2089,2108,2109,2110,2111,2114,2131,2132,2133,2154,2168,2332,2386,2387,2403,2428,2442,2539,2574,2592,2648,2649,2671,2680,2691,2719) AND (level<=0) AND date_available IS NOT NULL ORDER BY date_available DESC, rank ASC, file ASC, id ASC in /home/ahenrotr/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 847

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/ahenrotr/www/piwigo/include/dblayer/functions_mysqli.inc.php:908 Stack trace: #0 /home/ahenrotr/www/piwigo/include/functions.inc.php(1640): query2array('SELECT DISTINCT...', NULL, 'id') #1 /home/ahenrotr/www/piwigo/include/functions_calendar.inc.php(296): array_from_query('SELECT DISTINCT...', 'id') #2 /home/ahenrotr/www/piwigo/include/section_init.inc.php(576): initialize_calendar() #3 /home/ahenrotr/www/piwigo/picture.php(11): include('/home/ahenrotr/...') #4 {main} thrown in /home/ahenrotr/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 908