Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';) q' at line 8 SELECT count(*) c FROM ( SELECT DISTINCT(id) FROM piwigo_images INNER JOIN piwigo_image_category AS ic ON id = ic.image_id WHERE image_id IN (7673,24330,9974,6285,13131,33795,22531,38701,13157,34876,8268,37052,8952,24278,10601,22462,23388,12324,20166,36225,31788,6327,23261,17140,36673,38424,17732,19414,34267,36746,34138,15569,16747,38703,13595,35295,16452,17750,34172,9206,33732,15658,16443,20125,7517,17118,15489,37178,33949,29467,23113,36515,35935,32925,16813,34742,24098,18208,38641,23248,33589,33399,13599,21420,17577,6265,7136,35520,21167,15550,17478,34919,23274,10931,38689,32700,4661,33971,33791,34000,23078,35530,21436,15043,15906,19273,6429,33783,10577,33204,34864,25922,37014,33650,23068,9398,13727,34316,21167,15820) AND (ic.category_id NOT IN (92,95,96,99,102,103,104,105,106,109,112,113,114,116,117,118,119,120,121,122,137,13 in /home/www/friedemanns.photos/include/dblayer/functions_mysqli.inc.php on line 936

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /home/www/friedemanns.photos/include/dblayer/functions_mysqli.inc.php:1002 Stack trace: #0 /home/www/friedemanns.photos/include/functions.fri.inc.php(4): query2array('SELECT count(*)...') #1 /home/www/friedemanns.photos/include/functions.fri.inc.php(15): fri_query_value('SELECT count(*)...') #2 /home/www/friedemanns.photos/include/functions.fri.inc.php(119): fri_query_count('SELECT count(*)...') #3 /home/www/friedemanns.photos/include/section_init.inc.php(577): fri_check_max_items_count('\nSELECT DISTINC...') #4 /home/www/friedemanns.photos/picture.php(12): include('/home/www/fried...') #5 {main} thrown in /home/www/friedemanns.photos/include/dblayer/functions_mysqli.inc.php on line 1002