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 ')' at line 3 SELECT id, name, permalink FROM tbl_categories WHERE id IN () in /gallery/include/dblayer/functions_mysqli.inc.php on line 863

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /gallery/include/dblayer/functions_mysqli.inc.php:916 Stack trace: #0 /gallery/include/functions.inc.php(1517): query2array() #1 /gallery/picture.php(965): hash_from_query() #2 {main} thrown in /gallery/include/dblayer/functions_mysqli.inc.php on line 916