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 ') AND enabled='true'' at line 1
SELECT cat_id, question, password, (SELECT name FROM piwigo_categories WHERE id=cat_id) AS cat_name FROM piwigo_protectalbum WHERE cat_id IN () AND enabled='true' in /htdocs/include/dblayer/functions_mysqli.inc.php on line 856
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /htdocs/include/dblayer/functions_mysqli.inc.php:220
Stack trace:
#0 /htdocs/plugins/ProtectedAlbums/index.inc.php(156): pwg_db_fetch_assoc(false)
#1 /htdocs/include/functions_plugins.inc.php(264): protalbum_end_index()
#2 /htdocs/index.php(351): trigger_notify('loc_end_index')
#3 {main}
thrown in /htdocs/include/dblayer/functions_mysqli.inc.php on line 220