Fatal error: Uncaught Error: Call to a member function getPhoto() on null in /private/application/modules/default/views/scripts/products/view.phtml:8 Stack trace: #0 /private/library/Zend/View.php(108): include() #1 /private/library/Zend/View/Abstract.php(888): Zend_View->_run('/private/applic...') #2 /private/application/modules/default/views/scripts/webshop/product.phtml(1): Zend_View_Abstract->render(NULL) #3 /private/library/Zend/View.php(108): include('/private/applic...') #4 /private/library/Zend/View/Abstract.php(888): Zend_View->_run('/private/applic...') #5 /private/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render(NULL) #6 /private/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('webshop/product...', NULL) #7 /private/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render() #8 /private/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Contro in /private/application/modules/default/views/scripts/products/view.phtml on line 8