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, id ASC' at line 7
SELECT DISTINCT(image_id)
FROM piwigo_image_category
INNER JOIN piwigo_images ON id = image_id
WHERE
category_id = 204
AND (category_id NOT IN (2,13,16,20,21,22,25,26,27,28,30,46,47,48,52,53,55,58,60,61,65,67,69,70,71,72,73,74,75,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,95,98,99,100,106,107,108,109,110,111,112,114,115,117,118,119,120,121,122,123,124,125,126,127,128,129,133,134,135,136,137,139,141,142,143,144,145,146,147,149,150,151,152,153,155,156,157,159,162,164,165,166,167,168,169,170,172,174,177,178,188,189,191,193,194,195,196,197,198,199,200,201,210,211,212,213,214,215,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,254,255,256,257,258,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281, in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php:906
Stack trace:
#0 /home/jardinonx/www_galerie/piwigo/include/section_init.inc.php(318): query2array('\nSELECT DISTINC...', NULL, 'image_id')
#1 /home/jardinonx/www_galerie/piwigo/index.php(27): include('/home/jardinonx...')
#2 {main}
thrown in /home/jardinonx/www_galerie/piwigo/include/dblayer/functions_mysqli.inc.php on line 906