Out of memory (Needed 1048548 bytes)(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 = 45
Fatal error: Call to a member function getSingleResult() on a non-object in /usr/home/gaywed/public_html/library/categories.php on line 146