Edit line 149 in file.php as described in this thread:
https://wordpress.org/support/topic/unable-to-update-plugins-after-upgrade-to-42
fixed it for me (on a linux host).
edit: just read you are on windows: someone also posted a fix that applies to windows hosts there (apparently more complicated because backslashes are used in filepaths).
so your line 149 in file.php should read:
if ( empty( $filename ) || '.' == $filename || DIRECTORY_SEPARATOR == $filename ) {
good luck 🙂
Related Posts:
- Why are there updates for obsolete WordPress versions?
- Reverting from a newer version of WordPress to an older version
- Where can I find the corrent version of my wordpress blog?
- Replace or Alter the wp_version_check() Function
- Is it safe to update from 2.6.2 to the newest version?
- Where in the backend can I get information about the current WordPress version I am using?
- Updating WP 3.9.5 without destroying my website
- WordPress current version is 5.7.5 but I’m being prompted to “upgrade” to 4.9
- Admin user can’t update WP
- WP-CLI not recognizing commercial plugin updates
- After updating WP keeps nagging about a newer version. Why?
- How can I manually upgrade translations?
- Automating the Backup Process (30+ websites)
- Update to older wordpress version from admin?
- Prevent/Disable Automatic Update Check
- Git Deploying – Disabling plugin/theme installation/update on remote?
- Update WordPress automatically on its own
- How long does it take for theme / plugin automatic updates to initiate?
- Can’t preview drafts after upgrade to 4.0!
- Find out if there is a available core update?
- Why won’t my site automatically apply updates after upgrade to 3.7?
- “You have the latest version of WordPress. Future security updates will be applied automatically.”
- WordPress with composer, how to handle updates?
- How to automatically update on localhost after editing files
- After updating wordpress 4.5 my homepage and images not displaying
- Show last time WordPress site was updated / modified
- How can I prevent a plugin from searching for updates?
- WordPress load-scripts.php encoding issue
- Plugin for automated upgrade of WordPress core and it’s plugins?
- Why are the automatic updates to WordPress behind the version my site is on?
- update Semiologic?
- Upgrading themes never works
- Unable to update wordpress
- Still Another update is currently in progress by updating WordPress 5.3
- Is there any workaround to a core update still showing after core update if language set to anything other than US English
- Prevent wordpress from updating language files
- Possible to stay on Version 4?
- wordpress update will overwrite files changes?
- Worpdress update another update is currently in progress
- Upgrading from 3.5.2 to 3.9.1
- WP 5 upgrade and ALTER TABLE wp_post … post_password
- 4.9.5 broke site behind load balancer, forwards to localhost [closed]
- WP-CLI command to update all plugins and core fails when executed from cron
- Jetpack Upgrade fails with WP CLI [closed]
- WordPress 3.8.1 update error
- Updating WordPress core with zero downtime – I mean zero
- What file(s) in core control automatic background updates?
- How can I quickly get a system showing the “Uncaught Error: Class ‘WP_Site_Health’ not found in” up and running again?
- Can’t upgrade WP 5.6 to 5.6.1: version-current.php is missing
- WordPress and plugins can’t update (“inconsistent file permissions” error)?
- Update WordPress – Another update is currently in progress
- Errors when updating plugin through the WordPress plugin repository
- Is there a way to schedule automatic WordPress core updates?
- How does one dismiss the ‘upgrade notice’ when managing upgrades with SVN?
- WordPress updates being blocked by proxy
- Which directory should be writable to update wordpress?
- Increased memory usage after updating to wordpress 4.3
- How much maintenance is required to run a WordPress server?
- Can anything go wrong if I let users change their usernames?
- Where can I see all changes for a new WordPress version?
- A shorter way to automatically update WordPress?
- check if WordPress website has updates remotely
- After adding mo localization files to WP 3.8.1 install backend shows new update to 3.8.1
- WordPress updates
- is wpdb->replace() already sanitized?
- Is there a maximum length to a WordPress Page?
- Cannot upgrade anything in vps install (migrated wp)
- Where does wordpress gets its core and plugin updates
- I tried updating my Live wordpress site to the latest wordpress version (v4.7) and i encountered some issues
- How to keep cache files after plugin update?
- Can’t update WordPress 4.0
- Theme my login and update user meta
- why does installer/update screens not progress on some webhosts?
- Avoid removal of a file on plugin update
- How to modify last posts block without losing modification on next WP update
- Disabling forced FTP credentials for any updates
- Parent Theme update was not showing on the update page
- mystery checkbox in comments area
- How to get the date of last updated post or page and put it in the footer
- Updates page not showing formating
- After WooCommerce-Update fucntion not working anymore
- Plugins download & install fine, wordpress update fails
- How to allow theme update downloads to WordPress installs only?
- FS method direct on NGINX
- WordPress Auto Updates
- Core update of 4.2.3 changes all link to https [duplicate]
- Post Query not working after updating to 4.1
- Error on update translation
- Not able to Update wordpress to 4.0
- update post meta front end
- Custom message when wordpress updates are available
- WordPress Updates 3.5.2 to 3.8 Any Problem? [duplicate]
- How can I upgrade wordpress with manual?
- disk was full but wordpress still having issues
- Cannot Update wp DB – Get 500 Error
- Avoid loosing changes to theme
- Manually updating WordPress files
- How to update WordPress plugins properly using git?
- add_editor_style not working after upgrade to WP v 6.2
- edit wordpress website automatically from a program