Warning: [mysql error 145] Table './Photos/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 rating_score IS NOT NULL
AND (category_id NOT IN (127,126,17,105,45,217,79))
ORDER BY rating_score DESC, id DESC
LIMIT 15
; in /home/e-smith/files/ibays/piwigo/html/include/dblayer/functions_mysqli.inc.php on line 864
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/e-smith/files/ibays/piwigo/html/include/dblayer/functions_mysqli.inc.php on line 925