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 = 81
AND (category_id NOT IN (33,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,161,65,128,129,130,200,239,247,299,300,301,302,303,304,305,306,171,283,223,224,225,226,227,228,229,230,284,320,319,318,317,276,277,311,312,313,314,315,316))
ORDER BY rank ASC
; in /var/www/vhosts/hosting133424.af9b5.netcup.net/httpdocs/nemeth-star-productions.de/0Cusco/webgal.nemethstarproductions.de/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/vhosts/hosting133424.af9b5.netcup.net/httpdocs/nemeth-star-productions.de/0Cusco/webgal.nemethstarproductions.de/include/dblayer/functions_mysqli.inc.php:908
Stack trace:
#0 /var/www/vhosts/hosting133424.af9b5.netcup.net/httpdocs/nemeth-star-productions.de/0Cusco/webgal.nemethstarproductions.de/include/section_init.inc.php(317): query2array('\nSELECT DISTINC...', NULL, 'image_id')
#1 /var/www/vhosts/hosting133424.af9b5.netcup.net/httpdocs/nemeth-star-productions.de/0Cusco/webgal.nemethstarproductions.de/index.php(12): include('/var/www/vhosts...')
#2 {main}
thrown in /var/www/vhosts/hosting133424.af9b5.netcup.net/httpdocs/nemeth-star-productions.de/0Cusco/webgal.nemethstarproductions.de/include/dblayer/functions_mysqli.inc.php on line 908