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

Backtrace:

File: /home1/mywaqar/new.elitemedicalkw.com/application/core/Front_end.php
Line: 23
Function: redirect

File: /home1/mywaqar/new.elitemedicalkw.com/application/core/Front_end.php
Line: 14
Function: load_lang

File: /home1/mywaqar/new.elitemedicalkw.com/application/controllers/Web.php
Line: 8
Function: __construct

File: /home1/mywaqar/new.elitemedicalkw.com/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 /home1/mywaqar/new.elitemedicalkw.com/system/core/Exceptions.php:272)

Filename: helpers/url_helper.php

Line Number: 565

Backtrace:

File: /home1/mywaqar/new.elitemedicalkw.com/application/core/Front_end.php
Line: 23
Function: redirect

File: /home1/mywaqar/new.elitemedicalkw.com/application/core/Front_end.php
Line: 14
Function: load_lang

File: /home1/mywaqar/new.elitemedicalkw.com/application/controllers/Web.php
Line: 8
Function: __construct

File: /home1/mywaqar/new.elitemedicalkw.com/index.php
Line: 315
Function: require_once