Warning: [mysql error 1064] 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 '320,381,386,393,394)' at line 9
SELECT
id,
name,
permalink,
id_uppercat,
uppercats,
global_rank
FROM piwigo_categories
WHERE id IN (167,10,24,84,25,87,36,120,47,153,,320,381,386,393,394)
; in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php:913
Stack trace:
#0 C:\xampp\htdocs\include\functions_category.inc.php(754): query2array('\nSELECT\n id,...')
#1 C:\xampp\htdocs\include\menubar.inc.php(133): get_related_categories_menu(Array, Array)
#2 C:\xampp\htdocs\include\menubar.inc.php(15): initialize_menu()
#3 C:\xampp\htdocs\picture.php(1029): include('C:\\xampp\\htdocs...')
#4 {main}
thrown in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 913