Call to undefined function json_last_error()
-
I’ve started seeing the following errors in my error logs:
PHP message: PHP Fatal error: Uncaught Error: Call to undefined function json_last_error() in /wp-content/plugins/wp-cerber/cerber-lab.php:106 Stack trace: #0 /wp-content/plugins/wp-cerber/cerber-lab.php(66): lab_send_request(Array) #1 /wp-content/plugins/wp-cerber/cerber-lab.php(385): lab_api_send_request() #2 /wp-includes/class-wp-hook.php(298): cerber_push_lab('') #3 /wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(NULL, Array) #4 /wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /wp-includes/load.php(677): do_action('shutdown') #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /wp-content/plugins/wp-cerber/cerber-lab.php on line 106
I’m using WP Cerber 4.7.7. This has been causing some 500 errors for some requests.
These errors started after enabling
Cerber Lab connection -> Send malicious IP addresses to the Cerber Lab
. Disabling this has resulted in the errors disappearing.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Call to undefined function json_last_error()’ is closed to new replies.