Notice: Trying to access array offset on value of type null in /home/renv/photos.thalazur.fr/www/plugins/ProtectedAlbums/index.inc.php on line 152

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 /home/renv/photos.thalazur.fr/www/include/dblayer/functions_mysqli.inc.php on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/renv/photos.thalazur.fr/www/include/dblayer/functions_mysqli.inc.php:220 Stack trace: #0 /home/renv/photos.thalazur.fr/www/plugins/ProtectedAlbums/index.inc.php(156): pwg_db_fetch_assoc() #1 /home/renv/photos.thalazur.fr/www/include/functions_plugins.inc.php(264): protalbum_end_index() #2 /home/renv/photos.thalazur.fr/www/index.php(351): trigger_notify() #3 {main} thrown in /home/renv/photos.thalazur.fr/www/include/dblayer/functions_mysqli.inc.php on line 220