A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: models/Visitor.php

Line Number: 22

Backtrace:

File: C:\Inetpub\vhosts\vleelectronics.com\httpdocs\application\models\Visitor.php
Line: 22
Function: _error_handler

File: C:\Inetpub\vhosts\vleelectronics.com\httpdocs\application\controllers\Home.php
Line: 44
Function: getPageContentId

File: C:\Inetpub\vhosts\vleelectronics.com\httpdocs\index.php
Line: 315
Function: require_once