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' at line 7
SELECT DISTINCT(image_id)
FROM piwigo_image_category
INNER JOIN piwigo_images ON id = image_id
WHERE
category_id = 848
AND (category_id NOT IN (102,105,106,109,110,111,131,135,138,152,153,154,155,156,157,158,159,171,191,192,222,259,261,262,269,348,349,392,408,409,410,423,424,431,449,462,485,486,492,493,511,512,519,520,540,541,556,585,601,602,604,605,608,617,624,628,629,641,674,675,676,677,678,679,683,684,687,688,689,690,691,692,693,694,695,699,700,701,702,703,704,732,740,741,742,743,745,746,747,749,750,751,752,753,755,756,758,759,760,761,762,763,764,765,766,767,771,772,775,776,787,789,797,798,807,811,812,815,817,818,820,828,832,833,834,838,840,853,855,856,857,858,859,861,862,863,864,865,866,868,871,872,873,878,879,881,882,885,887,888,890,891,893,924,927,928,929,930,940,941,942,943,945,946,1003,1004,1005,1006,1007,1008,1009,1011,10 in /home/mrjean/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/mrjean/www/piwigo/include/dblayer/functions_mysqli.inc.php:908
Stack trace:
#0 /home/mrjean/www/piwigo/include/section_init.inc.php(317): query2array('\nSELECT DISTINC...', NULL, 'image_id')
#1 /home/mrjean/www/piwigo/index.php(27): include('/home/mrjean/ww...')
#2 {main}
thrown in /home/mrjean/www/piwigo/include/dblayer/functions_mysqli.inc.php on line 908