As a WordPress developer, I can fix the WordPress issue: “updating failed. The response is not a valid JSON response.”.
- 1. Issue of WP REST API, you can disable the wp rest API.
- 2. WordPress gutenberg editor issue, you can disable the WordPress,
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”.