ErrorException [ Notice ]: Trying to get property 'iStatus' of non-object

DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 41 ]

36 			}
37 
38 			$this->response->status(404);
39 			$this->iPageId = 101;
40 		} else {
41 			if ($this->oPage->iStatus == -1) {
42 				HTTP::redirect('/');
43 			}
44 		}
45 
46 		// No locale in URL
  1. DOCROOT/non-public/inzite/classes/Inzite/Controller/Template.php [ 41 ] » Kohana_Core::error_handler( arguments )

  2. APPPATH/classes/Controller/Template.php [ 145 ] » Inzite_Controller_Template->before( )

  3. SYSPATH/classes/Kohana/Controller.php [ 71 ] » Controller_Template->before( )

  4. {PHP internal call} » Kohana_Controller->execute( )

  5. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 93 ] » ReflectionMethod->invoke( arguments )

  6. SYSPATH/classes/Kohana/Request/Client.php [ 116 ] » Kohana_Request_Client_Internal->execute_request( arguments )

  7. SYSPATH/classes/Kohana/Request.php [ 933 ] » Kohana_Request_Client->execute( arguments )

  8. DOCROOT/public/index.php [ 94 ] » Kohana_Request->execute( )

Environment