Warning: mysqli::query(): (HY000/1194): Table 'piwigo_history' is marked as crashed and should be repaired in /home2/chfr6258/frederic-cherpe-photographe.net/include/dblayer/functions_mysqli.inc.php on line 132
Warning: [mysql error 1194] Table 'piwigo_history' is marked as crashed and should be repaired
SELECT
COUNT(*) AS download_count
FROM piwigo_history
WHERE user_id = 2
AND image_type in ('high', 'other')
AND date = CURRENT_DATE()
; in /home2/chfr6258/frederic-cherpe-photographe.net/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_row() on bool in /home2/chfr6258/frederic-cherpe-photographe.net/include/dblayer/functions_mysqli.inc.php:216
Stack trace:
#0 /home2/chfr6258/frederic-cherpe-photographe.net/plugins/download_limits/main.inc.php(55): pwg_db_fetch_row(false)
#1 /home2/chfr6258/frederic-cherpe-photographe.net/include/functions_plugins.inc.php(264): dlimits_picture()
#2 /home2/chfr6258/frederic-cherpe-photographe.net/picture.php(1033): trigger_notify('loc_end_picture')
#3 {main}
thrown in /home2/chfr6258/frederic-cherpe-photographe.net/include/dblayer/functions_mysqli.inc.php on line 216