WP: Plugin download or update error

Home / Blogs / Snippets / WP: Plugin download or update error

There are many solutions around the web for this but for me, a temporary solution worked in a way when I made all of the root files read+write from /opt/ as below. Since I’m working on a separate copy of WP in my local drive, its not too risky to do this.

$sudo chmod -R a+r+w opt/

And then removing the temporary directory (commenting out) mentioned in the wp-config.php file

//define('WP_TEMP_DIR', '/opt/bitnami/apps/wordpress/tmp');
//define('WP_TEMP_DIR', ABSPATH . 'wp-content/tmp/');

Leave a Reply

Your email address will not be published. Required fields are marked *