Publisher is EE6 compatible, but it does not support the Fluid field. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: json_decode: passing null to parameter of type string is deprecated

Status Resolved
Add-on / Version Simple Grids & Tables 1.5.2
Severity
EE Version 7.1.2

Andrus Kalkun

Aug 23, 2022

1. Created “Simple Table” field and added newly created field to fluid field.
2. In entry editing, after pressing + to add new “Simple Table” field to fluid getting:

Deprecated: JSON_DECODE(): PASSING NULL TO PARAMETER #1 ($JSON) OF TYPE STRING IS DEPRECATED
user/addons/simple_grids/ft.simple_table.php, line 237
Severity: E_DEPRECATED

PHP Version 8.1.7

#1

BoldMinded (Brian)

Aug 23, 2022

Change line 237 to this and see if it works

$data = $data && !is_array($data) ? json_decode($data ,true) : $data;

Login to reply