You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#112209 Custom field mediajce not working anymore

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by mvanlieshout on Thursday, 03 November 2022 14:45 GMT

mvanlieshout
Recently articles on my website using the Custom Field Media JCE are not being loaded anymore.
I have used these fields to create links to downloadable PDF-files. It has been working perfectly until recently. Maybe since the last update or some other moment I am getting a 404-error page with this strange error message in the title:
0 json_decode(): Argument #1 ($json) must be of type string, array given

When I unpublish the field, the page is loading correctly, only of course without the link.
I am using JCE Pro 2.9.32 on Joomla 3.10.11

Do you have any idea what is happening here? Hope someone can help.

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
The issue here was with your layout override of the JCE Media Field, in templates/g5_helium/html/plg_fields_mediajce/mediajce.php, which needed to be updated for the new values in JCE Pro 2.9.32

I have done this on your site.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

mvanlieshout
Of course. I forgot to check that part. How silly of me! Good lesson for me!
Thanks a lot for solving this problem. Your help is much appreciated!