I am facing after an issue after upgrading version magneto 2.4.2 to 2.4.5 When I run this command I got error
json_decode(): Passing null to parameter #1 ($json) of type string is deprecated
app/code/Vendor/Module/Helper/Data.php(495): json_decode(NULL)
Best Answer
Try below code 1. Add string (string)
2. Add condition
3. Try this one