While the option described above is the safest to update WordPress, you can update WordPress manually should you be unable to do so via the dashboard. Beware that this is more complicated and therefore more prone to errors.
Step 1: That is why it’s all the more important that you create a WordPress backup of the entire website before updating manually. In the worst case, you can revert to the previous version of your site and try again.
Step 2: Once you’ve backed up your website, log in to the backend as administrator.
Step 3:Deactivate all your plugins.
Step 4:Log out of the backend again.
Step 5: Head to the official WordPress website and download the update version you wish to use.
Step 6: Delete the directories /wp-admin and /wp-includes as well as files like wp-cron.php or wp-login.php via FTP. Only wp-config.php and .htaccess should be retained.
Step 7: Unzip the downloaded ZIP file containing the WordPress update.
Step 8: Upload the current versions of the directories and files you just deleted, leaving out only the wp-config.php and .htaccess files.
Step 9: To update the database too, access the upgrade.php file in your browser. Just append the data name to the URL of your dashboard in the address bar: examplewebsite.com/wp-admin/upgrade.php – the necessary steps to update the database will be explained there.
Step 10: Now reactivate all plugins and test your page to check its functions.