A PHP Error was encountered

Severity: Warning

Message: Trying to access array offset on value of type null

Filename: models/Common_m.php

Line Number: 126

Backtrace:

File: /home/tomatofry/public_html/application/models/Common_m.php
Line: 126
Function: _error_handler

File: /home/tomatofry/public_html/application/helpers/custom_helper.php
Line: 1248
Function: get_id_by_slug

File: /home/tomatofry/public_html/application/controllers/Profile.php
Line: 132
Function: get_id_by_slug

File: /home/tomatofry/public_html/index.php
Line: 354
Function: require_once

A PHP Error was encountered

Severity: Warning

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

Filename: helpers/url_helper.php

Line Number: 554

Backtrace:

File: /home/tomatofry/public_html/application/controllers/Profile.php
Line: 135
Function: redirect

File: /home/tomatofry/public_html/index.php
Line: 354
Function: require_once