Table './hairstar_storedb/products' is marked as crashed and should be repaired(Checking for product pagename) sql: SELECT id FROM products WHERE pagename = 'olaxer-3-in-1-ceramic-hair-straightener-hot-brush-curling-iron-with' AND hidden = 0 LIMIT 1