Warning: [mysql error 145] Table './photogallery/piwigo_sessions' is marked as crashed and should be repaired

SELECT data
  FROM piwigo_sessions
  WHERE id = '0354luu42tocmt4a9o0kgjlp7e8q82'
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832
IMG_9532 | BU Photo Gallery

BU Photo Gallery

Photo Gallery มหาวิทยาลัยกรุงเทพ

Warning: [mysql error 145] Table './photogallery/piwigo_history' is marked as crashed and should be repaired

INSERT INTO piwigo_history
  (
    date,
    time,
    user_id,
    IP,
    section,
    category_id,
    image_id,
    image_type,
    format_id,
    auth_key_id,
    tag_ids
  )
  VALUES
  (
    CURRENT_DATE,
    CURRENT_TIME,
    2,
    '3.84.139.101',
    'tags',
    NULL,
    30681,
    'picture',
    NULL,
    NULL,
    '316,317'
  )
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832
Warning: [mysql error 145] Table './photogallery/piwigo_sessions' is marked as crashed and should be repaired

REPLACE INTO piwigo_sessions
  (id,data,expiration)
  VALUES('0354luu42tocmt4a9o0kgjlp7e8q82','pwg_device|s:7:\"desktop\";pwg_mobile_theme|b:0;pwg_referer_image_id|s:5:\"30681\";',now())
; in /webapp/photogallery/include/dblayer/functions_mysqli.inc.php on line 832