Fatal error: Uncaught mysqli_sql_exception: 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 '))
AND (category_id NOT IN (136,139,141,138,416,569,142,143,238,239,237,199...' at line 5 in /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT DISTINC...')
#1 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT DISTINC...')
#2 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/functions.inc.php(1640): query2array('\nSELECT DISTINC...', NULL, 'id')
#3 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/functions_search.inc.php(457): array_from_query('\nSELECT DISTINC...', 'id')
#4 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/functions_search.inc.php(1696): get_regular_search_results(Array, '')
#5 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/section_init.inc.php(364): get_search_results('psk-20240601-5V...', NULL)
#6 /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/index.php(12): include('/home/clients/8...')
#7 {main}
thrown in /home/clients/892959fbdcb419010a26838d18ac8a00/web/piwigo/include/dblayer/functions_mysqli.inc.php on line 132