Error updating the main Wordpress file (4.1 to 4.1.1)

I currently have Wordpress 4.1 trying to upgrade to 4.1.1.

I have updated several times in the past through the Dashboard> Updates module. This time, when I try to update, after entering the FTP password, a blank page meets me.

The "blank" page is not completely empty. The top and left toolbar menus are shown, but the content area is empty. Page URL: @ HOME / wp-admin / update-core.php? Action = do-core-upgrade & _wpnonce = 7b6cf80aad

I tried using the default theme and also disabled all plugins. Nothing changes.

I once discovered these errors on the Google Chrome console:

Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError Failed to create temp file 2 : It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. 

This ONLY happens with Core Update. I can still install / remove plugins without problems. What other factors can affect kernel updates this way?

+5
source share
3 answers

You can try putting your ftp credentials in the wp-config.php file:

 define( 'FTP_USER', 'ftpusername' ); define( 'FTP_PASS', 'ftppassword' ); define( 'FTP_HOST', 'ftp.hostname.net:21' ); 

Source: https://wordpress.org/support/topic/cant-upgrade-vom-41-to-411?replies=10#post-6589194

+5
source

just add below code to your function.php theme.

 define('FS_METHOD', 'direct'); 

after adding this code, Wordpress does not request FTP data.

and grant permission 777 to the uploads directory.

Then check, hope it works.

+2
source

Switch the PHP handler to FastCGI or PHP-FPM and the problem goes away.

+1
source

Source: https://habr.com/ru/post/1213675/


All Articles