Back to top

WordPress ‘Fatal Error Maximum Execution Time Exceeded’ Quick Fix

Have you been getting a mistake in WordPress that says “Fatal Error Maximum Execution Time Exceeded” at whatever point you endeavour to play out an assignment like refreshing a subject or a module in WordPress?

Worry not. You’re not the only one. Numerous WordPress users have experienced this blunder while performing different errands and refreshing WordPress or plugins.

This is a typical error that can be effectively fixed. In this post, I’ll show you basic techniques for fixing it and guide you through the procedure with well-ordered instructions.

First, we should make sense of what’s causing this blunder in the first place.

What Is ‘Fatal Error Maximum Execution Time Exceeded’ Error?

Fatal-Error-Maximum-Execution-Time-Exceeded-wordpress-error

 

In a request to comprehend what this mistake is about, you have to see how WordPress functions. As you may know, WordPress is developed with PHP and WordPress utilizes certain PHP contents to perform explicit capacities inside the framework. For instance, when refreshing WordPress to a more current rendition, it runs contents to perform capacities like refreshing databases.

Sometimes, when WordPress is executing these contents it could require a surprisingly long investment. Like when you endeavour to refresh WordPress amid a pinnacle time when your website is loaded up with traffic. This frequently prompts higher server asset usage.

So, to keep websites from mishandling server assets, web facilitating suppliers put a period point of confinement to what extent content is permitted to run. At the point when that time limit is surpassed amid a content execution, you’ll get the “Fatal Error Maximum Execution Time Exceeded” error.

How To Fix The Error

You can fix the blunder in two basic ways. First includes utilizing a module and the other strategy includes altering a center WordPress record in the server.

I prescribe that you utilize the second technique. Generally in light of the fact that modules aren’t the most dependable alternative since they regularly keep running into clashes and issues.

But, in case you’re a finished tenderfoot and not secure with altering WordPress documents, run with the module option.

Note: Always recall to reinforcement your website before rolling out any improvements to framework records.

Technique 1: Use The WP Maximum Execution Time Exceeded Plugin

The simplest approach to fix the issue is utilizing the WP Maximum Execution Time Exceeded free module. With this module, you can in a flash fix the blunder with only a couple of snaps without having to physically alter any WordPress files.

Fatal-Error-Maximum-Execution-Time-Exceeded-install-plugin-1

 

Login to your WordPress dashboard and go to Plugins >> Add New

Search for the WP Maximum Execution Time Exceeded module and after that click Install.

install-plugin-2

 

Once you Activate the module, it will consequently stretch out your most extreme execution time to 5 minutes, giving your website a lot of time to run distinctive kinds of scripts.

Technique 2: Edit The .htaccess File

This technique includes altering the .htaccess record, which is situated in your server.

You can utilize an FTP client application to get to your server. For the showings, I’ll tell you the best way to find the .htaccess document utilizing the CPanel to make the procedure less demanding for beginners.

Step 1: Login To CPanel

You can get to CPanel through your website facilitating account. Or then again, you can legitimately get to CPanel by composing it toward the finish of your area name (eg: yourwebsite.com/cpanel)

Login to CPanel using the username and pass given to you by your hosting provider. Browse the appreciated email sent to you by the web facilitating supplier to discover the login details.

Step 2: Locate .htaccess File

cpanel-access-1

 

Once you’re inside the CPanel, discover the File Manager and then open the public.html folder to find every one of the documents identified with your website.

Here you’ll discover the .htaccess file.

Step 3: Edit .htaccess File

Fatal-Error-Maximum-Execution-Time-Exceeded-edit-htaccess-file

 

First, make a reinforcement duplicate of the .htaccess record, to be safe. Then right-click on the .htaccess document and choose Edit.

Once the record is open, copy and paste the accompanying code at the end of the page.

php_value max_execution_time 300

Click Save Changes.

Fatal-Error-Maximum-Execution-Time-Exceeded-edit-htaccess-file-2

 

This will set your server most extreme execution time to 5 minutes.

Additional Steps: Disable Plugins and Themes

If despite everything you’re getting the blunder in the wake of following the past strategies, at that point a defective module or a subject may make the error.

Login your WordPress administrator dashboard and disable all of your modules. At that point take a stab at empowering the modules one by one until you can make sense of which module is causing the issue.

If that doesn’t work, take a stab at exchanging your current theme to the default WordPress template to check whether the error is brought about by a module template conflict.

Resume

In most cases, the fundamental reason the “Fatal Error Maximum Execution Time Exceeded” blunder is your web have putting exacting execution time limits for your server. This is typically normal on shared facilitating plans, which are facilitated nearby a great many different websites on a similar server. The web has use traps like restricting execution times to diminish server load.

This sort of issues will be less normal when using managed WordPress hosting or VPS facilitating plans. In the event that the mistake keeps on persevering, think about moving your website to a superior facilitating supplier.
If the issue still exists you can ask for help an experienced WordPress developer.