A PHP Error was encountered

Severity: Warning

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

Filename: helpers/function_helper.php

Line Number: 5159

Backtrace:

File: /home/trade/public_html/application/helpers/function_helper.php
Line: 5159
Function: _error_handler

File: /home/trade/public_html/application/controllers/Products.php
Line: 254
Function: get_category_id_by_slug

File: /home/trade/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/trade/public_html/system/core/Exceptions.php:272)

Filename: helpers/url_helper.php

Line Number: 565

Backtrace:

File: /home/trade/public_html/application/controllers/Products.php
Line: 256
Function: redirect

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