Warning: [mysql error 1194] Table 'piwigo_history' is marked as crashed and should be repaired
SELECT
date,
HOUR(time) AS hour,
MIN(id) AS min_id,
MAX(id) AS max_id,
COUNT(*) AS nb_pages
FROM piwigo_history
WHERE id > 987000
AND id <= 1037000
GROUP BY
date,
hour
ORDER BY
date ASC,
hour ASC
; in /var/www/web124025/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /var/www/web124025/html/piwigo/include/dblayer/functions_mysqli.inc.php:211
Stack trace:
#0 /var/www/web124025/html/piwigo/admin/include/functions_history.inc.php(236): pwg_db_fetch_assoc(false)
#1 /var/www/web124025/html/piwigo/include/functions.inc.php(517): history_summarize(50000)
#2 /var/www/web124025/html/piwigo/action.php(149): pwg_log('6724', 'high')
#3 {main}
thrown in /var/www/web124025/html/piwigo/include/dblayer/functions_mysqli.inc.php on line 211