General Category > Help for ParamQuery Pro
PHP 7 -> PHP 8
(1/1)
queensgambit9:
After upgrading from PHP 7 -> PHP 8 when loading a saved stated with columns that uses remoteOptions, The checkboxes are not populated correctly but the filter is applied correctly. Any idea what could be causing this?
Update:
Noticed that quotes are missing from numeric values in PHP 8 version.
Response PHP 7:
--- Code: ---{"data":[{"c":"1"}}
--- End code ---
Response PHP 8:
--- Code: ---{"data":[{"c":1}}
--- End code ---
State has "1" (with quotes).
paramvir:
IS {"data":[{"c":1}} data of host grid or the remote filter options?
Could you share a jsfiddle.
queensgambit9:
Solved, it's in the response from the db.
Seems as from PHP 8.1 PDO has been changed so that when MySQL returns an integer it will no longer be returned as a string.
Navigation
[0] Message Index
Go to full version