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 (10,11))
ORDER BY file ASC, date_creation ASC' at line 5 in /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/dblayer/functions_mysqli.inc.php(132): mysqli->query('\nSELECT DISTINC...')
#1 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/dblayer/functions_mysqli.inc.php(888): pwg_query('\nSELECT DISTINC...')
#2 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/functions.inc.php(1640): query2array('\nSELECT DISTINC...', NULL, 'id')
#3 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/functions_search.inc.php(457): array_from_query('\nSELECT DISTINC...', 'id')
#4 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/functions_search.inc.php(1696): get_regular_search_results(Array, '')
#5 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/section_init.inc.php(364): get_search_results('psk-20240515-Dx...', NULL)
#6 /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/index.php(12): include('/home/ss316378/...')
#7 {main}
thrown in /home/ss316378/iehohs.com/public_html/piwigo.iehohs.com/include/dblayer/functions_mysqli.inc.php on line 132