Table './fndtoyz_AZ/products' is marked as crashed and last (automatic?) repair failed(No Description) sql: SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 26
Fatal error: Call to a member function getSingleResult() on a non-object in /home/fndtoyz/public_html/library/categories.php on line 185