Notice: Undefined offset: 0 in /var/www/html/klicka/application/modules/frontend/controllers/IndexController.php on line 69

Fatal error: Uncaught Error: Call to a member function getRelatedProducts() on null in /var/www/html/klicka/application/modules/frontend/controllers/IndexController.php:69 Stack trace: #0 /var/www/html/klicka/library/Zend/Controller/Action.php(516): IndexController->indexAction() #1 /var/www/html/klicka/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('indexAction') #2 /var/www/html/klicka/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #3 /var/www/html/klicka/library/Zend/Application/Bootstrap/Bootstrap.php(105): Zend_Controller_Front->dispatch() #4 /var/www/html/klicka/library/Zend/Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #5 /var/www/html/klicka/public/index.php(46): Zend_Application->run() #6 {main} thrown in /var/www/html/klicka/application/modules/frontend/controllers/IndexController.php on line 69