Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined constant JSON_UNESCAPED_SLASHES #2837

Closed
michaeltorbert opened this issue Aug 29, 2019 · 0 comments

Comments

@michaeltorbert
Copy link
Member

commented Aug 29, 2019

Reported: https://wordpress.org/support/topic/error-message-after-update-11/

JSON_UNESCAPED_SLASHES wasn’t introduced until PHP 5.4

$layout = wp_json_encode( (object) $layout, JSON_UNESCAPED_SLASHES );

@michaeltorbert michaeltorbert added this to the 3.2.5 milestone Aug 29, 2019

arnaudbroes added a commit to EkoJR/all-in-one-seo-pack that referenced this issue Aug 29, 2019
arnaudbroes added a commit to EkoJR/all-in-one-seo-pack that referenced this issue Aug 29, 2019
arnaudbroes added a commit to EkoJR/all-in-one-seo-pack that referenced this issue Aug 29, 2019
michaeltorbert added a commit that referenced this issue Aug 29, 2019
Fix error undefined constant JSON_UNESCAPED_SLASHES (#2839)
* Fix error undefined constant JSON_UNESCAPED_SLASHES

* Remove unused variable #2837

* fix for php 5.2.x

* Fix Grunt issue #2837

* fix for php 5.2.x

* Fix Grunt issues #2837
michaeltorbert added a commit that referenced this issue Sep 3, 2019
Fix error undefined constant JSON_UNESCAPED_SLASHES (#2839)
* Fix error undefined constant JSON_UNESCAPED_SLASHES

* Remove unused variable #2837

* fix for php 5.2.x

* Fix Grunt issue #2837

* fix for php 5.2.x

* Fix Grunt issues #2837
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.