Warning: [mysql error 145] Table './gal/gal_images' is marked as crashed and should be repaired SELECT id FROM gal_images i INNER JOIN gal_image_category ic ON id=ic.image_id INNER JOIN gal_image_tag it ON id=it.image_id WHERE tag_id IN (8) GROUP BY id ORDER BY date_available DESC, file ASC, id ASC in /www/include/dblayer/functions_mysqli.inc.php on line 856

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in /www/include/dblayer/functions_mysqli.inc.php:917 Stack trace: #0 /www/include/functions_tag.inc.php(221): query2array('\nSELECT id\n FR...', NULL, 'id') #1 /www/include/section_init.inc.php(324): get_image_ids_for_tags(Array) #2 /picture.php(13): include('/www/include/se...') #3 {main} thrown in /www/include/dblayer/functions_mysqli.inc.php on line 917