How to Fix Fatal Error in WordPress: Maximum Execution Time Exceeded

Posted by David Watson . on June 11, 2015

WordPress is one of the major platforms for web hosting and blogging which is used by a maximum number of webmasters in recent days. The site offers you a huge number of options and plugins which makes you reliable and offers convenience to every user. But the main problem lies in lacking the technical ideas of the site during the minor issues caused in the codes. WordPress uses PHP programming language to protect web servers from exploitation, and there is a certain time limit for every PHP script for running. If an action is not executed within that time period then some errors occur which might lead you to worry. Similarly, there’s an error which displays as “Fatal Error: Maximum Execution Time Exceeded” and we will learn the ways to sort this issue out.

error-maximum-execution-time

Why the error Maximum Execution Time Exceeded occurs?

Since PHP script uses a certain time limit for executing an action, different WordPress hosting providers have set this value to a different level. Few hosting providers have set it to a higher level, whereas some has set it to a lower level. When the script reaches to a maximum implementation time limit, it results to such error.

How to fix the Maximum Execution Time Exceeded error?

There are two methods to fix the “Maximum Execution Time Exceeded” error. One way is to manually edit your .htaccess file and the other way is to do it with the help of a plugin.

Fixing the error via .htaccess file

To implement it, you need to connect your website via FTP manager. For this, Filezilla is an appropriate FTP client which you can use. Your .htaccess file is located in the same folder as your /wp-content/ and /wp-admin/ folders. After you find it out, add the following line in your .htaccess file:

php_value max_execution_time 300

This code sets the maximum execution time value to 300 seconds, i.e.. 5 minutes. After adding this you shouldn’t get the error and in case you still receive it, increase and set the value to 600.

Fixing the error with a plugin

If your connection is too slow to connect to an FTP client or you find it complicate editing the .htaccess file, then activate the WP Maximum Execution Time Exceeded plugin. You don’t need to do anything else because the plugin increases the maximum time execution to 300 seconds. That’s all.

So you can see that fixing the “Maximum Execution Time Exceeded” error is very simple. Since this error is faced by a number of WordPress users we thought of sharing the fixing tricks which might be of great help. Even if you are not technically expert in WordPress you can still implement these fixes easily and conveniently. Solving any technical issue in WordPress is easy; just you need to learn a few tricks which are easily available on the web blogs. So if you are a WordPress blogger and bothered about similar errors then start learning now and become a pro WordPress user.

Comments
  1. Bhumi
  2. Michal Broke

Leave a Comment

Your email address will not be published. Required fields are marked *