Incorrect key file for table './carlabar_petruss/products.MYI'; try to repair it(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 = 100
Fatal error: Call to a member function getSingleResult() on a non-object in /home/carlabar/public_html/pet-r-us.com/library/categories.php on line 185