?
avatar Quy
Quy
29 Jun 2020

Steps to reproduce the issue

Add a custom media field.
Add a custom subfields field.
Edit an article.
Under Fields tab, add a row under the subfields field.
Leave blank and click Save button.

@astridx

Actual result

PHP Warning: json_decode() expects parameter 1 to be string, object given in \libraries\src\Form\Field\AccessiblemediaField.php on line 133

avatar Quy Quy - open - 29 Jun 2020
avatar joomla-cms-bot joomla-cms-bot - change - 29 Jun 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 29 Jun 2020
avatar astridx
astridx - comment - 29 Jun 2020

Thanks @Quy. You probably inserted me because I created this PR.
I am not sure whether my PR is the cause for this error. I will check this evening.
There were problems with the media field and the subform before. For example here.

avatar Quy Quy - change - 29 Jun 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-06-29 18:32:20
Closed_By Quy
avatar Quy Quy - close - 29 Jun 2020
avatar Quy
Quy - comment - 29 Jun 2020

PR #29840

Add a Comment

Login with GitHub to post a comment