Warning: [mysql error 145] Table './gal/gal_images' is marked as crashed and should be repaired SELECT DISTINCT(image_id) FROM gal_image_category INNER JOIN gal_images ON id = image_id WHERE category_id = 5 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/section_init.inc.php(303): query2array('\nSELECT DISTINC...', NULL, 'image_id') #1 /picture.php(13): include('/www/include/se...') #2 {main} thrown in /www/include/dblayer/functions_mysqli.inc.php on line 917