Can’t update wordpress, or plugins (Maintenance Mode stuck)


PROBLEM

Update WordPress
Downloading update from htt….
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode… STUCK

SOLUTIONS
replacing line 149 in wp-admin/includes/file.php
if ( empty( $filename ) || ‘.’ == $filename ) {
with
if ( empty( $filename ) || ‘.’ == $filename || ‘/’ === $filename ) {

SORUCE : https://wordpress.org

Facebook Comments