Warning: [mysql error 145] Table '.\gallery1\piwigo1_images' is marked as crashed and should be repaired SELECT id FROM piwigo1_images INNER JOIN piwigo1_image_category AS ic ON id = ic.image_id WHERE (category_id NOT IN (11,12,13,10,14,40,41,44,43,28,27,38,36,26,34,35,23,31,32,47,57,58) AND level<=0) ORDER BY RAND() LIMIT 15 ; in C:\piwigo\include\dblayer\functions_mysqli.inc.php on line 845

Fatal error: Uncaught Error: Call to a member function fetch_assoc() on boolean in C:\piwigo\include\dblayer\functions_mysqli.inc.php:906 Stack trace: #0 C:\piwigo\include\functions.inc.php(1457): query2array('\nSELECT id\n FR...', NULL, 'id') #1 C:\piwigo\random.php(62): array_from_query('\nSELECT id\n FR...', 'id') #2 {main} thrown in C:\piwigo\include\dblayer\functions_mysqli.inc.php on line 906