As a WordPress developer, I can fix the WordPress issue: “updating failed. The response is not a valid JSON response.”.
Possible reasons:
- 1. Issue of WP REST API, you can disable the wp rest API.
- 2. WordPress gutenberg editor issue, you can disable the WordPress,
add_filter(‘use_block_editor_for_post’, ‘__return_false’);
remove_action( ‘wp_enqueue_scripts’, ‘wp_common_block_scripts_and_styles’ );
3.Caused by shortcode
4. Caused by elementor
The above are possible meaning of “The response is not a valid JSON response”.