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 piwigo_categories
WHERE id IN () in /home/httpd/vhosts/npph.net/httpdocs/wallpapers/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/httpd/vhosts/npph.net/httpdocs/wallpapers/include/dblayer/functions_mysqli.inc.php:917
Stack trace:
#0 /home/httpd/vhosts/npph.net/httpdocs/wallpapers/include/functions.inc.php(1517): query2array('\nSELECT id, nam...', 'id')
#1 /home/httpd/vhosts/npph.net/httpdocs/wallpapers/picture.php(965): hash_from_query('\nSELECT id, nam...', 'id')
#2 {main}
thrown in /home/httpd/vhosts/npph.net/httpdocs/wallpapers/include/dblayer/functions_mysqli.inc.php on line 917