PHP 8.1 json_decode(null) deprecated when creating new Access Level#39297
PHP 8.1 json_decode(null) deprecated when creating new Access Level#39297fancyFranci merged 2 commits intojoomla:4.2-devfrom
Conversation
|
see #38467 too |
|
So we have 2 PRs for the same issue, this one and #38467 . While this here changes |
|
Most simple solution:
since |
|
And non of the solutions documents why this value could be empty. |
|
I have tested this item ✅ successfully on 4be4e9d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39297. |
It is null because when we create a new level, |
|
I have tested this item ✅ successfully on 4be4e9d This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39297. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/39297. |
|
Thanks, everybody |
Testing Instructions
Actual result BEFORE applying this Pull Request
Deprecated warning showing up

Expected result AFTER applying this Pull Request
No warnings
