শনিবার, ২৮ সেপ্টেম্বর, ২০১৯

How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress


Are you seeing the ‘Briefly unavailable for scheduled maintenance’ error in WordPress? This error usually appears while updating WordPress core, plugins, or themes.
Basically, your WordPress site fails to finish the update which leaves you stuck in the maintenance mode.
In this article, we will show you how to easily fix the “Briefly unavailable for scheduled maintenance” error in WordPress. We will also show you why this error occurs and how you can avoid it in the future.

Why Does The WordPress Maintenance Mode Error Occur?

Maintenance mode page is technically not an error. It is a notification page.
During the update process, WordPress downloads necessary update files to your server, extract them and then install the update.
WordPress also puts your site on maintenance mode and displays the “Briefly unavailable for scheduled maintenance. Check back in a minute.” notice during the process.
To trigger the maintenance mode notification, WordPress creates a temporary .maintenance file in your website’s root folder.
If everything works normally, then this notice will probably be displayed for only a few seconds. After the successful update, WordPress will automatically delete the maintenance file to disable maintenance mode.
However, sometimes due to a slow WordPress hosting server response or low memory issue, the update script will timeout thus interrupting the process. When this happens, WordPress does not get a chance to take your site out of maintenance mode.
In other words, your site will continue showing the maintenance mode notice, and you will need to manually fix it.

How to Fix WordPress Maintenance Mode Error?

To get your website out of maintenance mode, all you really need to do is delete the .maintenance file from your site’s root folder using FTP.

If you can’t find the .maintenance file in your WordPress root directory, then make sure you checked your FTP client to show hidden files.
In Filezilla, you can force it to show hidden files by clicking on Server » Force showing hidden files from the menu bar.


Once the .maintenance file is removed, your site will come out of maintenance mode, and the error should be fixed.
If you don’t know how to use FTP, then you can also remove the files by going to the file manager in your WordPress hosting control panel, and then deleting the .maintenance file inside the file manager.

How to Avoid WordPress Maintenance Mode in the Future?

We already know that the “Briefly unavailable for scheduled maintenance” error is caused by slow server response or low memory issue on your web hosting server.
The easiest way to avoid this error is by upgrading to a higher hosting plan. We recommend going with one of these managed WordPress hosting companies that offer superior hosting performance.
If upgrading to a higher hosting plan is not an option, then we recommend doing plugin and theme updates one at a time.
Often users have a tendency of quickly clicking on the update link underneath each plugin. WordPress then staggers the update order, but even a millisecond of delay in connection could cause a conflict leading your site to be stuck in maintenance mode.
Instead of quickly clicking on the Update link, we recommend patiently updating one plugin at a time.


1 টি মন্তব্য: