Warning: [mysql error 1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 3
SELECT id, name, permalink
FROM piwilh_categories
WHERE id IN () in /web/htdocs/www.doremifasol.org/home/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /web/htdocs/www.doremifasol.org/home/gallery/include/dblayer/functions_mysqli.inc.php:900
Stack trace:
#0 /web/htdocs/www.doremifasol.org/home/gallery/include/functions.inc.php(1619): query2array()
#1 /web/htdocs/www.doremifasol.org/home/gallery/picture.php(962): hash_from_query()
#2 {main}
thrown in /web/htdocs/www.doremifasol.org/home/gallery/include/dblayer/functions_mysqli.inc.php on line 900