Hi,
I'm getting the following error when using Wygwam 2.1.2 and Better Meta 1.0.3 together:
Fatal error: Cannot redeclare json_decode() (previously declared in /www/eh/public_html/admin/expressionengine/libraries/services_json.php:498) in /www/eh/public_html/admin/expressionengine/third_party/wygwam/lib/jsonwrapper/jsonwrapper_inner.php on line 21
Thanks
-
Haha... I switched to using EE’s built-in JSON encoder to fix compatibility with another of Leevi’s add-ons. Apparently he hasn’t updated all of his own yet though.
I’ll let him know, thanks. -
-
Ha, thanks! Yeah, I saw that for matrix. Thanks for passing that on to him.
For now, I just stopped using Better Meta and kept Wygwam ;) -
-
I've tested both the latest versions of both WYGWAM and Better Meta and have no issues saving entries.
The error above looks like this is indeed a WYGWAM issue as it's still loading it's own thrid party json_wrapper class.
previously declared in /www/eh/public_html/admin/expressionengine/third_party/wygwam/lib/jsonwrapper/jsonwrapper_inner.php on line 21
Double checking the latest WYGWAM code there is no instance of jsonwrapper which makes me think there are some old WYGWAM files floating around in your install or the files didn't copy over correctly.
Try downloading the latest of both addons again and copy over the files.
@Brandon: Has anyone else submitted this issue? I've had no similar support requests. -
-
Wow, somehow I didn’t notice the "/wygwam/" in the error.
Zac, when you updated to Wygwam 2.1.2, are you sure you updated the system/expressionengine/third_party/wygwam folder in its entirety? Can you try updating all of the files again? -
Loading Profile...


Twitter,
Facebook, or email.

EMPLOYEE

