Table './espressomachine/products' is marked as crashed and should be repaired(No Description) sql: SELECT COUNT(DISTINCT( FROM products p, products_categories c WHERE = c.product_id AND c.category_id IN (28) AND p.hidden = 0 AND p.enabled = 1 AND p.offers > 0 AND p.parent_id = 0 Fatal error: Call to a member function getSingleResult() on a non-object in /home/vhosts/sites/ on line 159