Table './hairstar_storedb/products' is marked as crashed and should be repaired(Checking for product pagename) sql: SELECT id FROM products WHERE pagename = 'beanstalk-hair-loss-vitamins-fast-regrowth-with-just-1-pill-a-day' AND hidden = 0 LIMIT 1