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,12,174,241,187)' at line 9 SELECT id, name, permalink, id_uppercat, uppercats, global_rank FROM piwigo_categories WHERE id IN (167,10,27,93,92,,320,381,386,393,394,12,174,241,187) ; 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\index.php(103): include('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 913