A PHP Error was encountered

Severity: Warning

Message: Undefined array key "HTTP_REFERER"

Filename: controllers/LanguageSwitcher.php

Line Number: 17

Backtrace:

File: /home/hayir/public_html/application/controllers/LanguageSwitcher.php
Line: 17
Function: _error_handler

File: /home/hayir/public_html/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: 8192

Message: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

Filename: helpers/url_helper.php

Line Number: 534

Backtrace:

File: /home/hayir/public_html/application/controllers/LanguageSwitcher.php
Line: 17
Function: redirect

File: /home/hayir/public_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 /home/hayir/public_html/system/core/Exceptions.php:271)

Filename: helpers/url_helper.php

Line Number: 564

Backtrace:

File: /home/hayir/public_html/application/controllers/LanguageSwitcher.php
Line: 17
Function: redirect

File: /home/hayir/public_html/index.php
Line: 315
Function: require_once