Database error

ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1194
» Error detail: Table 'bd_estore_online_users' is marked as crashed and should be repaired
» Query: SELECT * FROM bd_estore_online_users WHERE store_id = '27240' AND uid='0' AND usertype='0' AND ip='54.198.96.198' Database error

ERROR From DB mySQL

DB Error: Database query failed!
» Error No: 1062
» Error detail: Duplicate entry '11700399' for key 'PRIMARY'
» Query: INSERT INTO bd_estore_online_users (id,store_id,sid,uid,username,usertype,ip,last_updated,last_page) VALUES (NULL,'27240','q90tn4t2f8vk0492fjse1al224','0','Guest','0','54.198.96.198','2018-08-18 19:40:26','/news/page-7.html')