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: 19

Backtrace:

File: /home/thabitat/public_html/application/controllers/Lang.php
Line: 19
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: 21

Backtrace:

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

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