A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: pages/Page_pages.php

Line Number: 22

Backtrace:

File: /var/www/golf/application/modules/front/controllers/pages/Page_pages.php
Line: 22
Function: _error_handler

File: /var/www/golf/index.php
Line: 318
Function: require_once