A PHP Error was encountered

Severity: 4096

Message: Object of class Site_pages could not be converted to string

Filename: main/Site_pages.php

Line Number: 106

Backtrace:

File: /mnt/storage/home/newlineessexco/public_html/application/controllers/main/Site_pages.php
Line: 106
Function: _error_handler

File: /mnt/storage/home/newlineessexco/public_html/index.php
Line: 324
Function: require_once

An uncaught Exception was encountered

Type: Error

Message: Call to a member function assign() on null

Filename: /mnt/storage/home/newlineessexco/public_html/application/controllers/main/Site_pages.php

Line Number: 106

Backtrace:

File: /mnt/storage/home/newlineessexco/public_html/index.php
Line: 324
Function: require_once