Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This line 108 giving error: Unknown: html_entity_decode(): Passing null to parameter opencart#1 ($string) of type string is deprecated in /home/upload/catalog/controller/product/category.php on line 108 When i asked Journal theme support they suggested these changes adding these ( ?? '' before , ENT if ($category_info['image'] && is_file(DIR_IMAGE . html_entity_decode($category_info['image'], ENT_QUOTES, 'UTF-8'))) { with if ($category_info['image'] && is_file(DIR_IMAGE . html_entity_decode($category_info['image'] ?? '', ENT_QUOTES, 'UTF-8'))) { and now this is working.
- Loading branch information