Fatal error: Call to a member function getCategoryIds() on a non-object in /home/TDS/live/app/code/local/Cf/Customcore/Helper/Rewrite/Catalog/Data.php on line 20