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.
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 ...
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 ...
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
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 ...
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 ...
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 ...
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 ...
12
votes
No CSS being loaded on backend
In wp-config.php before require_once add below code into file :
define('CONCATENATE_SCRIPTS', false);
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/...
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/...
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-...
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" );
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, ...
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);
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 ...
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
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
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-
...
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,&...
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 ...
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 ...
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/...
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 ...
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,);
}
...
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 ...
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', ...
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. ...
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 ...
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
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
updates × 680plugins × 174
automatic-updates × 80
themes × 58
plugin-development × 44
upgrade × 39
theme-development × 32
customization × 31
php × 28
database × 27
errors × 26
core × 25
wp-admin × 22
posts × 18
security × 18
admin × 17
child-theme × 17
functions × 15
hooks × 15
permissions × 15
wordpress-version × 15
users × 14
multisite × 13
installation × 10
wp-cli × 10