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 (59,60))
ORDER BY date_available DESC, file AS...' at line 5 in /home/deb106002/domains/stcaecilia.com/public_html/media/include/dblayer/functions_mysqli.inc.php:132
Stack trace:
#0 /home/deb106002/domains/stcaecilia.com/public_html/media/include/dblayer/functions_mysqli.inc.php(132): mysqli->query()
#1 /home/deb106002/domains/stcaecilia.com/public_html/media/include/dblayer/functions_mysqli.inc.php(888): pwg_query()
#2 /home/deb106002/domains/stcaecilia.com/public_html/media/include/functions.inc.php(1640): query2array()
#3 /home/deb106002/domains/stcaecilia.com/public_html/media/include/functions_search.inc.php(457): array_from_query()
#4 /home/deb106002/domains/stcaecilia.com/public_html/media/include/functions_search.inc.php(1696): get_regular_search_results()
#5 /home/deb106002/domains/stcaecilia.com/public_html/media/include/section_init.inc.php(364): get_search_results()
#6 /home/deb106002/domains/stcaecilia.com/public_html/media/index.php(12): include('/home/deb106002...')
#7 {main}
thrown in /home/deb106002/domains/stcaecilia.com/public_html/media/include/dblayer/functions_mysqli.inc.php on line 132