Warning: [mysql error 145] Table './piwigo/piwigo_images' is marked as crashed and should be repaired SELECT DISTINCT(id) FROM piwigo_images INNER JOIN piwigo_image_category AS ic ON id = ic.image_id WHERE date_available>=LEAST(SUBDATE(CURRENT_DATE,INTERVAL 7 DAY),SUBDATE('2019-03-24 14:01:56',INTERVAL 1 DAY)) ORDER BY date_available DESC,file ASC, date_creation DESC ; in /var/www/vhosts/jackstringer.co.uk/subdomains/gallery/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/vhosts/jackstringer.co.uk/subdomains/gallery/include/dblayer/functions_mysqli.inc.php:906 Stack trace: #0 /var/www/vhosts/jackstringer.co.uk/subdomains/gallery/include/section_init.inc.php(461): query2array('\nSELECT DISTINC...', NULL, 'id') #1 /var/www/vhosts/jackstringer.co.uk/subdomains/gallery/index.php(27): include('/var/www/vhosts...') #2 {main} thrown in /var/www/vhosts/jackstringer.co.uk/subdomains/gallery/include/dblayer/functions_mysqli.inc.php on line 906