Fatal error: Uncaught mysqli_sql_exception: 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 (2077,3014,2914,2915,3105,2461,2111,2516,2517,251' at line 5 in /home/gedeonbapc/www/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /home/gedeonbapc/www/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT\n DIS...')
#1 /home/gedeonbapc/www/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT\n DIS...')
#2 /home/gedeonbapc/www/include/functions_search.inc.php(394): query2array('\nSELECT\n DIS...', NULL, 'id')
#3 /home/gedeonbapc/www/include/functions_search.inc.php(2016): get_regular_search_results(Array, '')
#4 /home/gedeonbapc/www/include/section_init.inc.php(364): get_search_results('psk-20250121-iU...', NULL)
#5 /home/gedeonbapc/www/index.php(12): include('/home/gedeonbap...')
#6 {main}
thrown in /home/gedeonbapc/www/include/dblayer/functions_mysqli.inc.php on line 132