Fatal error: Call to a member function getId() on a non-object in /home/santor/public_html/magento/app/code/local/Spytronic/Catalog/controllers/PdfController.php on line 38