Table './hairstar_storedb/products' is marked as crashed and should be repaired(Checking for product pagename) sql: SELECT id FROM products WHERE pagename = 'clip-for-hair-extension-snap-clip-for-diy-use-black-20pcs' AND hidden = 0 LIMIT 1