WordPress Solution: Updating failed. Error message: The response is not a valid JSON response. Updating failed. Error message: The response is not a valid JSON response.
In your wp-config.php
add the following code, preferably on top
define( 'FS_METHOD', 'direct' );
Also, see if your write permissions are good. Here is how to do that via FTP