HostOnNet Blog

How to fix WordPress Plugin upgrade failed error

Looking for Linux Server Admin or WordPress Expert? We can help.

An error occured while updating wp google map plugin: Could not remove the old plugin..

Enabling Maintenance mode…
Updating Plugin wp google map plugin (1/1)
Downloading update from http://downloads.wordpress.org/plugin/wp-google-map-plugin.zip
Unpacking the update…
Installing the latest version…
Removing the old version of the plugin…
Plugin upgrade failed.

I looked at various fixes, the first one is

Added follwing in wp-config.php

define(‘FS_METHOD’, ‘ftpsockets’);
define(‘FTP_BASE’, ‘/path/to/wordpress/’);
define(‘FTP_CONTENT_DIR’, ‘/path/to/wordpress/wp-content/’);
define(‘FTP_PLUGIN_DIR ‘, ‘/path/to/wordpress/wp-content/plugins/’);
define(‘FTP_USER’, ‘username’);
define(‘FTP_PASS’, ‘password’);
define(‘FTP_HOST’, ‘ftp.example.org’);

But that was not successful.

After that i tried by setting 755 to all folders and 644 for files.

file-permission

folder-permission

Problem solved,Plugin updation is now working fine.

Downloading update from http://downloads.wordpress.org/plugin/wp-google-map-plugin.zip…

Unpacking the update…

Installing the latest version…

Removing the old version of the plugin…

Plugin updated successfully.

Something not quite right on your WordPress website? No worries, I’ll fix it for you!

Send a mail to [email protected] for wordpress bug fix, template design and plugin installation

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in Wordpress

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.