Fatal error: Call to a member function getId() on a non-object in /var/www/magento/app/code/local/TRS/Catalog/Block/Product/Recommended.php on line 49