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 categories WHERE id IN () in /var/www/photos.samwilson.id.au/include/dblayer/functions_mysqli.inc.php on line 845

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /var/www/photos.samwilson.id.au/include/dblayer/functions_mysqli.inc.php:898 Stack trace: #0 /var/www/photos.samwilson.id.au/include/functions.inc.php(1432): query2array('\nSELECT id, nam...', 'id') #1 /var/www/photos.samwilson.id.au/picture.php(979): hash_from_query('\nSELECT id, nam...', 'id') #2 {main} thrown in /var/www/photos.samwilson.id.au/include/dblayer/functions_mysqli.inc.php on line 898