Unexpected WordPress Issues
WordPress as free open CMS can surprise you anytime and you may found out while trying to update plugins that you are not able to do that anymore.
Plugin Update Error
If you receive a message while pressing the Update button as "Destination directory for file streaming does not exist or is not writable" you may be quite surprised. Stay calm, you don't need to be a big research hero. All you need to do is this quick fix mentioned hereunder.
Fixing This Issue
Go to root of your WordPress installation directory and look for wp-config.php file. Open it for next editation and at the top of the file, you will find something like this.
* @package WordPress
*/
// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */
Just Paste This Code
Just grab this line of code hereunder and paste it in the middle of @package and ** MySQL settings lines.
define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
Final Wp-Config
So the final file may look like this.
- @package WordPress
/
define('WP_TEMP_DIR', ABSPATH . 'wp-content/');
// * MySQL settings - You can get this info from your web
host ** //
/** The name of the database for WordPress */
Plugin Update Passed
Save it and then after you may found out your desired message after updating a plugin looks like this.
No need for sleepless nights looking for a plugin update error fix. Happy WordPressing with your future projects.
Thanks to Stephen Phillips for the cover image from Unsplash.
Top comments (0)