A PHP Error was encountered

Severity: 8192

Message: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated

Filename: helpers/function_helper.php

Line Number: 1288

Backtrace:

File: /var/www/html/application/helpers/function_helper.php
Line: 1288
Function: json_decode

File: /var/www/html/application/controllers/Products.php
Line: 180
Function: fetch_product

File: /var/www/html/index.php
Line: 318
Function: require_once