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 ')) AND (category_id NOT IN (8,35,38,39,40,41,43,44,47,75,91,291,426,427,428,75' at line 5 SELECT DISTINCT(id) FROM piwigo_images i INNER JOIN piwigo_image_category AS ic ON id = ic.image_id LEFT JOIN piwigo_image_tag AS it ON id = it.image_id WHERE (category_id IN ()) AND (category_id NOT IN (8,35,38,39,40,41,43,44,47,75,91,291,426,427,428,751,966,618,619,722,620,544,952,786,663,595,585,580,546,416,338,337,797,462,439,437,312,924,854,852,785,779,770,763,748,479,470,536,237,773,447,240,234,578,228,28,142,54,74,203,204,205,209,210,211,641,581,188,189,190,207,208,222,223,198,199,180,181,650,465,182,81,183,184,218,219,220,989,781,464,185,186,187,192,193,940,212,213,200,201,202,194,195,196,926,215,216,217,319,46,127,354,353,872,642,285,307) AND level<=0) ORDER BY date_available DESC in /home/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/piwigo/include/dblayer/functions_mysqli.inc.php:908 Stack trace: #0 /home/piwigo/include/functions.inc.php(1609): query2array('\nSELECT DISTINC...', NULL, 'id') #1 /home/piwigo/include/functions_search.inc.php(459): array_from_query('\nSELECT DISTINC...', 'id') #2 /home/piwigo/include/functions_search.inc.php(1698): get_regular_search_results(Array, '') #3 /home/piwigo/include/section_init.inc.php(364): get_search_results('psk-20251217-P8...', NULL) #4 /home/piwigo/index.php(12): include('/home/piwigo/in...') #5 {main} thrown in /home/piwigo/include/dblayer/functions_mysqli.inc.php on line 908