Monthly Archives:

July 2020

Tips & Tricks

Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress

Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress

Is your WordPress site displaying ’Briefly Unavailable for Scheduled Maintenance’? then you are having some maintenance error in your WordPress which requires to be fixed.  When the updating procedure of your WordPress site remains unfinished then your WordPress goes in maintenance mode. Let’s know the causes, How to Fix Briefly Unavailable for Scheduled Maintenance Error in WordPress. 


  • What are The Reasons for WordPress Maintenance Mode Error?

When the ’Briefly Unavailable for Scheduled Maintenance’? appears on the screen it is only the notification on a page. In the process of updating some necessary files also get updated and extracted too in the server. If one of the files gets stuck and can not finish the installation of the file then the maintenance mode page displays the notification and also built up a temporary .maintenance file. If the interruption in updating is minor then the notification will disappear within a few seconds and the .maintanance file will be also deleted by default.

Sometimes the interruption period lasts long due to memory shortage or slow server response and so on. As a result update script goes timeout within the interruption period and the .maintenance file remains in the WordPress root folder and you get a notification ’Briefly Unavailable for Scheduled Maintenance’? And this temporary notification turns into error.

This error needs some manual steps to fix it.


How to Fix WordPress Maintenance Mode Error?


The notification comes from .maintenance file and turns into error if the file does not delete automatically so you need to delete the .maintenance file. To delete the file, you will need to take the help of the FTP client because the .maintenance file usually exists in the root folder. If after Visiting the WordPress root directory no such file gets found then the FTP client requires to be checked to get the hidden files.

To display the hidden files, you need to go to the menu bar then the server presses the force showing hidden files option.

If this using FTP client seems complex then the alternative is also here. If you have access to the WordPress hosting control panel as well as in the file manager then go to the file manager and delete the .maintenance file. 


How to Avoid WordPress Maintenance Mode in the Future?


The error mostly occurs due to a shortage of storage and slow server response so you should work on both of the points not to last the temporary notification long. A higher hosting plan can be a good start. WordPress requires to update whether theme or plugin so the tasks should be done patiently at a time. 


  • How to Customize Maintenance Mode Notification


The best way to ignore the error is by putting the website on maintenance mode in advance while you are about to update the theme or plugin. To activate the maintenance mode in advance SeeProd plugin can help you. Let’s active maintenance mode in the SeeProd plugin at first go with Settings then Coming Soon Pro page. A box is supposed to be there next to the ’Enable maintenance mode’ option point on the box. The option you need to press is ‘Edit Coming Soon/Maintenance Page’. Then you will get to choose SeeProd theme customizer so you can build an amazing maintenance mode page.

If you are not interested in installing the plugin for the maintenance mode page. Then there is an alternative option too. 

At first, build a maintenance.php file and paste the following code in the file.



  1. <?php
  2. $protocol = $_SERVER[“SERVER_PROTOCOL”];
  3. if ( ‘HTTP/1.1’ != $protocol && ‘HTTP/1.0’ != $protocol )
  4. $protocol = ‘HTTP/1.0’;
  5. header( “$protocol 503 Service Unavailable”, true, 503 );
  6. header( ‘Content-Type: text/html; charset=utf-8’ );
  7. ?>
  8. <html xmlns=””>
  9. <body>
  10. <h1>We are updating the site, please check back in 30 minutes.</h1>
  11. </body>
  12. </html>
  13. <?php die(); ?>


Now save and upload it on the wp-content directory. During the process of updating plugin and theme, This file will display ’We are updating the site, please check back in 30 minutes’. If you can design the page according to your own with the help of CSS.


  • Troubleshooting WordPress Maintenance Mode Error


In the above, all most all the easy and satisfactory solution of Briefly Unavailable for Scheduled Maintenance Error in WordPress has been discussed. If none of them hardly work for you here are some other steps toward the solution.


If WordPress displays the maintenance mode page even after clearing all the updates then you need to change the location of the wp-activate.php file. Shift the wp-activate.php file to the location of the .maintenance file. To open the file you can take the help of FTP client or can use hosting company’s file manager. There you will get a code like


 define (‘WP_INSTALLING’, true)


And your job is to change the word ’true’ to ’false’. Exactly like this


define (‘WP_INSTALLING’, false)


After saving the changes your file is ready to upload on the server. If using the FTP client then use it to upload or if you prefer then you just save it and the maintenance mode page will disappear.


Sometimes website gets broken even after fixing the Briefly Unavailable for Scheduled Maintenance Error. The possible reason could be that the interrupted files are having some issues which are required to be fixed. If the error while updating core software then the software is needed to update manually with the help of FTP client. If the error takes place during updating plugin then after having the backup of plugins deactivated all of them by using FTP client. When you will reactivate the plugins one by one the corrupt plugin can be determined.


In this article, you will all the means of fixing Briefly Unavailable for Scheduled Maintenance Error in WordPress.


If you liked this article, then please visit our WordPress Theme

Read Our most popular article.


Tips & Tricks

How to Fix WordPress RSS Feed Errors

How to Fix WordPress RSS Feed Errors

RSS Feed Errors are very confusing. If your WordPress website screen displaying the following error

XML Parsing Error: XML or text declaration not at start of entity


Line Number 2, Column 1:


Or like this

Warning: Cannot modify header information – headers already sent by (output started at /home/username/ in /home/username/ on line 1228


And your answer is Yes, then certainly you are having WordPress RSS Feed Errors. 

RSS Error’s indication text varies server to serve. 


  • Reasons for WordPress RSS Feed Errors


Usually, due to poor formatting or incorrect RSS Feed Errors take place in WordPress. WordPress uses a very strict markup language called XML to deliver RSS Feeds. This code language requires full consciousness to write. An extra tab or lack of a comma or any other silly mistake has the power to break the whole RSS Feed. The error will notify you like the following 


XML Parsing Error: XML or text declaration not at start of entity


Line Number 2, Column 1:


If you visit RSS feed in a browser the error notification will be different.


  • Manually Fixing RSS Feed Errors in WordPress

The most common cause of RSS Feed error is poor formatting. If a blank space remains after closing the PHP tag or theme’s functions.php file then it creates poor formatting. 


After adding code snippet or child theme’s function.php file then editing function file is a must.

The closing PHP tag is not important to put in. if you want you can remove the closing PHP tag. 

Removal of PHP tag is the most effective and simplest way to get rid of this error.


  • Disable RSS Feed Related Plugins

If you have a modifier plugin for the website’s RSS Feed then there is a high possibility that the plugin may cause the error. After sure that plugin is corrupted you should disable the plugin as soon as possible.

If you can not be sure whether the plugin is corrupted or not there is also an option to disable all the plugins temporarily.

After disabling the plugins if the error also disappears then undoubtedly one of the plugins is corrupted. 

Now reactive each plugin one by one so you can identify the corrupted plugin.

After identifying culprit plugin disable it permanently and look for an alternative plugin or you can ask for the help of the support team.


  • Temporarily Switch to a Default Theme

If you have doubts that the source of the error can be your current theme.  then to clear the doubt or to take action based on the doubt there is nothing to do but to check the theme. To recheck the theme you need to disable the theme or can replace it with the default WordPress theme temporarily.


Visit the Appearance then Themes page then install and active default the theme.

Now check whether the error still exists or not. Check the error at the WordPress feed. You should also try to visit a browser window with feed or with the feed validator tool. If the error does not found in any means then certainly the theme was causing the RSS Feed error. After detecting the source of the issue get rid of it according to your convenience and you can ask for an alternative to the support team too or have a fresh new theme for your WordPress site.

If you liked this article, then please visit our WordPress Theme

Read Our most popular article.

Tips & Tricks

How to Fix “Upload-Failed to Write File to Disk” Error in WordPress.

Upload-Failed to write file to disk

Is your WordPress site showing ‘Upload-Failed to write file to disk’ error while you are uploading files in WordPress? Then do not be frustrated with some very easy steps you can get rid out of this problem. but before knowing the solution determining the core reason for the error is a must. 


  • What Are the Causes that Failed To Write File To Disk Error in WordPress?

Out of many reasons, the most occurred reason is incorrect folder permissions.

Every folder, as well as the file, requires some sort of permissions. Based on these permissions, your sever gets access to all the folders and files. If these permissions do not handle correctly you will lose the power of control and ability to access over the folders and files. Editing the folder adding files will not be possible by you. In case of uploading files from the WordPress admin section or uploading images, the error will notify possibly by any of the following text 


  • WordPress has failed to upload due to an error failed to write file to disk
  • WordPress failed to write to disk
  • Unable to create directory wp-content/uploads/2016/03. Is its parent directory writable by the server?

If you get any of these notifications then just be sure your WordPress is affected by Failed to write file to disk error.


  • Fixing the Error Upload Failed to Write to Disk in WordPress

Fixing this issue requires the use of an FTP client. And as you know you need to make a connection between your WordPress site and FTP client. After making the connection if you click right on the folder of wp-content you will have some option. But you need to go with file permissions

A dialogue box will appear with the file permissions option of the group, owner, and public. There will be a blank box numeric value you need to put 755 in the box. Now you have to check the box located just next to recurse into subdirectories

At the end press the option ’Apply to directories only’ and also the OK button.

Upload-Failed to write file to disk


Now the FTP client will start its main job which is fixing the folder permissions to 755. It will apply to all the folder of wp-content even the image stored folders are also included.

Upload-Failed to write file to disk


You should also confirm that each file and folder has correct permission.

To go to the file permissions option you need to repeat the click on the wp-content folder.

At the numeric value box put 644 and again see the box situated next to recurse into subdirectories.

Lastly, go with the option ’Apply to files only’ and press OK so you can continue forward. Like previously now 644 will arrange file the permissions for the entire content folder.

Now go to your WordPress website and try to upload files and edit folders. The error possibly not existing anymore. If the still the error is troubling your site makes the temporary files directory empty with the help of WordPress hosting provider. 

Sometimes the FTP client hardly gets access because the temporary file directory full or poorly configured and located on the server. In this making empty the temporary file directory is the easiest way to get over the error you are struggling called Failed to write file to disk.

If you liked this article, then please visit our WordPress Theme

Read Our most popular article.