Hot answers tagged

161 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.
126 votes

Get rid of Another update is currently in progress

It is an automatic lock to prevent simultaneous core updates. It will be gone after 15 minutes. If you don't want to wait, delete the record from options table – usually wp_options. Since Wordpress 4....
46 votes

Disable update notification for individual plugins

Hameedullah Khan's answer will throw a PHP warning. Include this if clause to check to make sure it's an object before unsetting the response for that plugin. 'Warning: Attempt to modify property of ...
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 ...
  • 1,781
30 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 ...
  • 309
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
  • 1,993
26 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 ...
  • 6,035
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 ...
  • 3,299
15 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 ...
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/...
  • 2,763
10 votes
Accepted

Disable requests to api.wordpress.org

You can Disable HTTP Calls by adding this in your wp-config.php define( 'WP_HTTP_BLOCK_EXTERNAL', TRUE ); This will disable/block all external HTTP requests and will make website alot faster. And ...
  • 8,231
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-...
  • 105k
9 votes

No CSS being loaded on backend

In wp-config.php before require_once add below code into file : define('CONCATENATE_SCRIPTS', false);
  • 191
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" );
  • 463
9 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/...
  • 191
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);
  • 81
8 votes

After updating wordpress 4.5 my homepage and images not displaying

You are using a theme or plugin that uses a jQuery-dependent script with poor syntax. In this screenshot below of the browser console of the page you referenced, the expression should be ... li > a[...
  • 920
8 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, ...
  • 54.4k
7 votes

How can I manually upgrade translations?

quick-and-dirty hint to solve this problem: find the function list_translation_updates() in wp-admin/update-core.php $updates = wp_get_translation_updates(); if ( ! $updates ) <- ...
7 votes
Accepted

Git Deploying - Disabling plugin/theme installation/update on remote?

Set the constant DISALLOW_FILE_MODS to TRUE in your wp-config.php: const DISALLOW_FILE_MODS = TRUE; See the Codex for background information: Setting this constant also disables the Plugin and ...
  • 105k
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 ...
  • 2,095
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 ...
6 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 ...
  • 176
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 "...
6 votes
Accepted

How wordpress detects a plugin update

Every 12+ Hours WordPress automatically goes out and checks if a plugin needs to be updated via the WordPress Repository. There's 3 cron jobs that WordPress runs to check on things: wp_version_check -...
  • 20k
6 votes

Auto-updating Wordpress from a local zip file

As so often, WP-CLI already has you covered: wp core update --version=3.8 ../latest.zip Have a look here for more details: http://wp-cli.org/commands/core/update/
  • 5,550
6 votes

Theme broken after upgrading to WordPress 4.5, missing stylesheet?

It turns out that the ThemeWoot Emulate theme registers and enqueues a common.css file with the key of common in it's themewoot.php (which is being included in functions.php). This key is apparently ...
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- ...
  • 4,407
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 ...
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 ...
  • 151

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