WordPress requirement issue with wp_json_encode
-
Plugin description says it requires WP 3.8 or higher… however it’s using the “wp_json_encode” function which requires WP 4.1+.
Using WP 3.9.6 it throws the following error sporadically:
Fatal error: Call to undefined function wp_json_encode() in /wp-content/plugins/wp-rollback/wp-rollback.php on line 615
So, you may need to adjust your minimum or come up with a pre-4.1 alternative.
Ref: https://developer.www.ads-software.com/reference/functions/wp_json_encode/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WordPress requirement issue with wp_json_encode’ is closed to new replies.