A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'file' of non-object

Filename: controllers/WebSiteOfficialDiary.php

Line Number: 54

Backtrace:

File: /home/site/public/site/views/errors/html/error_php.php
Line: 1
Function: require_once

File: /home/site/public/site/controllers/WebSiteOfficialDiary.php
Line: 54
Function: _error_handler

File: /home/site/public/dist/backend/codeigniter/3/index.php
Line: 315
Function: require_once

File: /home/site/public/dist/backend/codeigniter/index.php
Line: 12
Function: include_once

File: /home/site/public/index.php
Line: 36
Function: require_once