Skip to main content
182 votes

to perform the requested action wordpress needs to access your web server. please enter your ftp

Add the following to wp-config.php: define( 'FS_METHOD', 'direct' ); Let me know how it works for you.
Narendra Solanki's user avatar
32 votes

to perform the requested action wordpress needs to access your web server. please enter your ftp

This means that WordPress is having limited permission for making changes in the folder that it was installed. In-order to fix this, all that you need to do is provide necessary permissions for the ...
Syamraj K's user avatar
  • 329
32 votes

Error Warning: Declaration of description_walker::start_el after PHP upgrade

The error message shows that the class description_walker extends the Walker_Nav_Menu class and overrides the start_el() method, but the signature differs from the method definition in the parent ...
JHoffmann's user avatar
  • 1,850
29 votes

Get rid of Another update is currently in progress

If you use wp-cli run the following command: wp option delete core_updater.lock This command will delete the option named: core_updater.lock
Shahjahan Jewel's user avatar
27 votes

No CSS being loaded on backend

Adding these two lines to "wp-config.php" worked for me. I had the same issue. define( 'CONCATENATE_SCRIPTS', false ); define( 'SCRIPT_DEBUG', true ); Also, remember to clear cache on server and ...
Suresh KUMAR Mukhiya's user avatar
27 votes
Accepted

Can I upgrade a plugin to a specific version?

Using WP-CLI you can specify this as described in the official documentation. $ wp plugin update <plugin> Using either of the following arguments --minor Only perform updates for minor ...
kero's user avatar
  • 6,280
20 votes
Accepted

Remove update nags for non-admins

In wp-admin/includes/update.php file if ( current_user_can('update_core') ) $msg = sprintf( __('An automated WordPress update has failed to complete - <a href="%s">please attempt the ...
bravokeyl's user avatar
  • 3,369
16 votes
Accepted

Updates for a private plugin?

Since Wordpress v5.8, it is a lot simpler to create yourself a basic version of custom plugin update functionality. Step 1 Create JSON file on your server. It will contain info about latest version ...
Dejan's user avatar
  • 276
12 votes

No CSS being loaded on backend

In wp-config.php before require_once add below code into file : define('CONCATENATE_SCRIPTS', false);
thSoft's user avatar
  • 221
10 votes

Updates for a private plugin?

If you like free ... and want to use something like GitHub, GitLab, or BitBucket, this is a good quality and supported plugin for handling it (supports private and enterprise): https://github.com/...
sMyles's user avatar
  • 2,856
10 votes

to perform the requested action wordpress needs to access your web server. please enter your ftp

Even though it is totally correct to have the ownership as root:apache with permissions 775, and httpd to run as apache, Wordpress does not like this. It wants the owner to be apache, as per wp-admin/...
w00t's user avatar
  • 201
10 votes
Accepted

Why "Contact Form 7" doesn't update PHPmailer library?

PHPMailer is not part of the plugin, it is shipped with WordPress. So it is up to WordPress to keep it up to date. There is a patch already in ticket #37210. In the mean time, you can create a mu-...
fuxia's user avatar
  • 107k
9 votes

Get rid of Another update is currently in progress

Add this code to any plugin or your theme's functions.php file. Remember to remove it when you're done to prevent flicking your database for no reason. delete_option( "core_updater.lock" );
John Dee's user avatar
  • 503
9 votes
Accepted

Updating WordPress core with zero downtime - I mean zero

There is no general solution to this problem. Your solution will be specific to your situation, and unusable for many other users, and vice versa. All with their own varying tradeoffs. For example, ...
Tom J Nowell's user avatar
  • 60k
8 votes

Admin user can't update WP

For anyone else with this problem, there is another line that you may have to find in your wp-config or functions file and change to false: define('DISALLOW_FILE_EDIT', true);
tvorm's user avatar
  • 81
7 votes

Filter Hook on plugin update

Maybe upgrader_process_complete() action hook. Fires when the bulk upgrader process is complete. On line 761 of wp-admin/includes/class-wp-upgrader.php From source: /** * Fires when the ...
hwl's user avatar
  • 2,145
7 votes
Accepted

How to disable updates in WordPress theme

First of all, it is a very bad idea to modify the original theme without creating a child theme. Disabling updates of such theme is even worse idea, because without updates, your site may get infected ...
Krzysiek Dróżdż's user avatar
6 votes

No CSS being loaded on backend

First of all visit: how to fix wordpress admin style problem it is possible that one plugin incorrectly enqueued some style or jquery file in the wp-admin/load-styles.php file, change "...
Arash Rabiee's user avatar
6 votes
Accepted

woocommerce_before_calculate_totals in woocommerce 3.0

Well, the problem is you are calling price directly at $value['data']->price. Make it $value['data']->get_price() and I think you problem will be fixed. So the whole code block will be- ...
CodeMascot's user avatar
  • 4,537
6 votes

WP-Admin shows (1) update but there is no update for plugin, theme or Wordpress

I noticed this on a few of the sites we manage, and the fix for us was updating translations from the WP Updates page. After scrolling all the way to the bottom and clicking "Update Translations,&...
Moso Digital's user avatar
6 votes

How to disable updates in WordPress theme

I would agree with what Krzysiek already said - you should first be using a child theme (which is incredibly simple to set up, so there's zero reason not to do this as a best practice) and that ...
butlerblog's user avatar
  • 5,021
6 votes

Some wp-admin folder file deleted when Wordpress upgrade

Both wp-includes and wp-admin folders contain core files of WordPress. You should never modify any of them, because it is crucial for WP to be able to change these folders during updates. Almost the ...
Krzysiek Dróżdż's user avatar
6 votes

How do I disable an update for a specific plugin?

function AS_disable_plugin_updates( $value ) { //create an array of plugins you want to exclude from updates ( string composed by folder/main_file.php) $pluginsNotUpdatable = [ 'plugin1/...
Andrea Somovigo's user avatar
5 votes

No CSS being loaded on backend

I had the same problem and tried the above suggestions first, but they didn't work. Then I realized my issue was coming from mixed content being delivered and I found this answer, which references ...
displacedtexan's user avatar
5 votes

Disable update notification for individual plugins

Disable All Update Notifications with Code function remove_core_updates(){ global $wp_version;return(object) array('last_checked'=> time(),'version_checked'=> $wp_version,); } ...
Muhammad Bilal's user avatar
5 votes

Why won't Wordpress on localhost find updates?

First Open /wp-config.php Now the first thing you need to do is to open the wp-config.php file from your WordPress root folder, the file is located at wordpress/wp-config.php Insert FS_METHOD Paste ...
naveenos's user avatar
  • 151
5 votes

Remove update nags for non-admins

here is complete code, which seems to work at this moment: add_action('admin_head', function() { if(!current_user_can('manage_options')){ remove_action( 'admin_notices', 'update_nag', ...
T.Todua's user avatar
  • 5,830
5 votes
Accepted

cURL 28 error after switch from to brew php 7.2 on localhost

Try This First: Your Problem Might Be DNS In my testing this is a problem with DNS resolving. In my case it's because the DNS filter/cache I run on my local network wasn't responding to requests. ...
John B's user avatar
  • 346
5 votes
Accepted

Custom Wordpress Plugin will install new and not update

A plugin is treated as the same as another plugin if it has the same directory name. That's it. If your zip file contains the plugin files then the zip filename will be used as the directory name. If ...
Jacob Peattie's user avatar
5 votes

Updating WordPress core with zero downtime - I mean zero

Assuming you have ssh access. The "poor man's solution" would be to create a directory with the new code, e.g. new_code and run mv code_dir code_dir_old && ln -s new_code code_dir ...
Thomas's user avatar
  • 431

Only top scored, non community-wiki answers of a minimum length are eligible