A PHP Error was encountered

Severity: 8192

Message: substr(): Passing null to parameter #1 ($string) of type string is deprecated

Filename: controllers/Lang.php

Line Number: 28

Backtrace:

File: /home/thabitat/public_html/application/controllers/Lang.php
Line: 28
Function: substr

File: /home/thabitat/public_html/index.php
Line: 292
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/thabitat/public_html/system/core/Exceptions.php:271)

Filename: controllers/Lang.php

Line Number: 30

Backtrace:

File: /home/thabitat/public_html/application/controllers/Lang.php
Line: 30
Function: header

File: /home/thabitat/public_html/index.php
Line: 292
Function: require_once