A PHP Error was encountered

Severity: Notice

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

Filename: libraries/Base_Controller.php

Line Number: 20

Backtrace:

File: /var/www/html/application/libraries/Base_Controller.php
Line: 20
Function: _error_handler

File: /var/www/html/application/controllers/User.php
Line: 7
Function: __construct

File: /var/www/html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/html/system/core/Exceptions.php:271)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /var/www/html/application/libraries/Base_Controller.php
Line: 20
Function: redirect

File: /var/www/html/application/controllers/User.php
Line: 7
Function: __construct

File: /var/www/html/index.php
Line: 315
Function: require_once