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