Recently I have experienced an error “Briefly unavailable for scheduled maintenance error in WordPress”. I am updating my plugins and suddenly my WordPress blog freezes. After some time when I refresh my blog I see the “Briefly Unavailable for Scheduled Maintenance” message in my screen. Fortunately I have resolved this error successfully and my blog is up and running. I thought of writing an article about it and tell you all about my experience. So without wasting time let’s start.
Why “Briefly Unavailable for Scheduled Maintenance Error in WordPress” Error Occurred ?
Starting with WordPress 3.7 WordPress added support for automatic updates for minor releases. It simply means that it will automatically updates itself for minor releases. A common problem occurs when updating WordPress on shared hosting is that the update process may time out, leaving your site in the maintenance mode and inaccessible. This happens mostly due to web server’s slow response or low memory issue the update script may time out or gets interrupted. When this happens, WordPress does not get a chance to take your site out of maintenance mode.
Fixing Maintenance Error in WordPress
First you have to make sure that your site is updated properly otherwise it will cause problems when it comes out of the maintenance mode. Once you have updated the WordPress, all you have to do is to delete the .maintenance file which was created by WordPress during updation.
To delete the .maintenance file you have to connect to your WordPress hosting by using a FTP client like FileZilla. You can find the .maintenance file in your site’s root directory. If you are unable to see the file, make sure you checked your FTP client to show the hidden files. In FileZilla you can do it by clicking on Server >> Force showing hidden file from the menu bar.
WordPress created .maintenance file during the update process. If everything goes perfect it will delete the file automatically. Otherwise If anything goes wrong and update script gets time out then the file may not get deleted. Unless you delete the file manually, your site will remain in the maintenance mode and your users will continue to see the message.
Sometimes this error could effect the particular part of your site. As in my case, everything is working fine unless you click on the create new post option. Whenever you click on the create new post option you will see Briefly Unavailable for Scheduled Maintenance Error in WordPress. In this case simply deactivate all your plugin and reactivate them one by one.
That’s all for today. Stay tune for the next tutorial. If you have not subscribed for our weekly-newsletter then please subscribe now by clicking the link below.