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 '386,320,381,167,10,34,114)' at line 3 SELECT id, name, permalink FROM piwigo_categories WHERE id IN (393,394,,386,320,381,167,10,34,114) 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:900 Stack trace: #0 C:\xampp\htdocs\include\functions.inc.php(1546): query2array('\nSELECT id, nam...', 'id') #1 C:\xampp\htdocs\picture.php(969): hash_from_query('\nSELECT id, nam...', 'id') #2 {main} thrown in C:\xampp\htdocs\include\dblayer\functions_mysqli.inc.php on line 900