Warning: [mysql error 145] Table './cxpxpfxv_pg1/pg_history' is marked as crashed and should be repaired
INSERT INTO pg_history
(
date,
time,
user_id,
IP,
section,
category_id,
search_id,
image_id,
image_type,
format_id,
auth_key_id,
tag_ids
)
VALUES
(
CURRENT_DATE,
CURRENT_TIME,
2,
'18.224.62.25',
'categories',
NULL,
NULL,
338,
'picture',
NULL,
NULL,
NULL
)
; in /home/cxpxpfxv/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Warning: [mysql error 145] Table './cxpxpfxv_pg1/pg_history' is marked as crashed and should be repaired
SELECT
MIN(id) AS min_id
FROM pg_history
; in /home/cxpxpfxv/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 847
Fatal error: Uncaught Error: Call to a member function fetch_assoc() on bool in /home/cxpxpfxv/public_html/gallery/include/dblayer/functions_mysqli.inc.php:913
Stack trace:
#0 /home/cxpxpfxv/public_html/gallery/admin/include/functions_history.inc.php(199): query2array('\nSELECT\n MIN...')
#1 /home/cxpxpfxv/public_html/gallery/include/functions.inc.php(547): history_summarize(50000)
#2 /home/cxpxpfxv/public_html/gallery/picture.php(1038): pwg_log('338', 'picture')
#3 {main}
thrown in /home/cxpxpfxv/public_html/gallery/include/dblayer/functions_mysqli.inc.php on line 913