A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: hooks/KeyLog.php

Line Number: 51

Backtrace:

File: /home/davidporte/public_html/inventory/application/hooks/KeyLog.php
Line: 51
Function: _error_handler

File: /home/davidporte/public_html/inventory/index.php
Line: 315
Function: require_once