SELECT id, a_title,title as title FROM album WHERE a_id = ""

Fatal error: Uncaught exception 'Exception' with message 'mysqli_fetch_array(NULL)' in /mnt/108/sda/0/5/esby/photos/lib/sql.php:39 Stack trace: #0 /mnt/108/sda/0/5/esby/photos/album.php(424): mysqli_fetch_array(false) #1 {main} thrown in /mnt/108/sda/0/5/esby/photos/lib/sql.php on line 39