Fatal error: Call to a member function getTypeId() on a non-object in /data/www.foagroup.com/app/code/local/Mage/Catalog/Helper/Product/View.php on line 141