• Categories
    • Tutorials
    • Beginners Guide
    • WordPress News
    • WordPress Security
    • Best WordPress Plugins
    • WordPress Themes
    • Product Reviews
    • WP Tips & Tricks
  • Guides
    • Start a Blog
    • Make a Website
    • WordPress Hosting
  • Themes
    • Elegant Themes
    • Thrive Themes
    • OptimizePress
  • Hosting Reviews
    • WPEngine
    • Bluehost
    • A2 Hosting
    • Kinsta
    • WPX
  • Coupons
    • WPEngine
    • Flywheel
    • HostGator
    • A2 Hosting
    • WPX Hosting
WordPress Tutorials

How To Fix ‘Fatal Error Maximum Execution Time Exceeded’ WordPress Error

Last Updated on: February 8, 2019 Editorial Staff Leave a Comment

How To Fix ‘Fatal Error Maximum Execution Time Exceeded’ WordPress Error

Have you been getting an error in WordPress that says “Fatal Error Maximum Execution Time Exceeded” whenever you try to perform a task like updating a theme or a plugin in WordPress?

Worry not. You’re not alone. Many WordPress users have encountered this error while performing various tasks and updating WordPress or plugins.

This is a common error that can be easily fixed. In this post, we’ll show you two simple methods for fixing it and guide you through the process with step by step instructions.

First, let’s figure out what’s causing this error in the first place.

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

Fatal Error Maximum Execution Time Exceeded error wordpress

In order to understand what this error is all about, you need to understand how WordPress works. As you may know, WordPress is developed with PHP and WordPress uses certain PHP scripts to perform specific functions within the system. For example, when updating WordPress to a newer version, it runs scripts to perform functions like updating databases.

Sometimes, when WordPress is executing these scripts it could take an unusually long time. Like when you try to update WordPress during a peak time when your website is filled with traffic. This often leads to higher server resource usage.

So, to prevent websites from abusing server resources, web hosting providers put a time limit to how long a script is allowed to run. When that time limit is exceeded during a script execution, you’ll receive the “Fatal Error Maximum Execution Time Exceeded” error.

How To Fix The Error

You can fix the error in two simple ways. First involves using a plugin and the other method involves editing a core WordPress file in the server.

We recommend that you use the second method. Mostly because plugins aren’t the most reliable option since they often run into conflicts and issues.

But, if you’re a complete beginner and not sure about editing WordPress files, go with the plugin option.

Note: Always remember to backup your website before making any changes to system files. If you don’t have have a backup system, use our guide to setup automatic backups for free.

Method 1: Use The WP Maximum Execution Time Exceeded Plugin

The easiest way to fix the issue is using the WP Maximum Execution Time Exceeded free plugin. With this plugin, you can instantly fix the error with just a few clicks without having to manually edit 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 plugin and then click Install.

install-plugin-2

Once you Activate the plugin, it will automatically extend your maximum execution time to 5 minutes, giving your website plenty of time to run different types of scripts.

Method 2: Edit The .htaccess File

This method involves editing the .htaccess file, which is located in your server.

You can use an FTP client app to access your server. For the demonstrations, we’ll show you how to locate the .htaccess file using the CPanel to make the process easier for beginners.

Step 1: Login To CPanel

You can access CPanel through your website hosting account. Or, you can directly access CPanel by typing it at the end of your domain name (eg: yourwebsite.com/cpanel)

Login to CPanel using the username and password given to you by your web host. Check the welcome email sent to you by the web hosting provider to find the login details.

Step 2: Locate .htaccess File

cpanel-access-1

Once you’re inside the CPanel, find the File Manager and then open the public.html folder to locate all the files related to your website.

Here you’ll find the .htaccess file.

Step 3: Edit .htaccess File

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

First, make a backup copy of the .htaccess file, just in case. Then right-click on the .htaccess file and choose Edit.

Once the file is open, paste the following code at the bottom 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 maximum execution time to 5 minutes.

Additional Steps: Disable Plugins & Themes

If you’re still getting the error after following the previous methods, then a faulty plugin or a theme might be causing the error.

Login to your WordPress admin dashboard and disable all of your plugins. Then try enabling the plugins one by one until you can figure out which plugin is causing the issue.

If that doesn’t work, try switching your current theme to the default WordPress theme to see if the error is caused by a plugin-theme conflict.

Wrapping Up

In most cases, the main reason the “Fatal Error Maximum Execution Time Exceeded” error is your web host putting strict execution time limits for your server. This is usually common on shared hosting plans, which are hosted alongside thousands of other websites on the same server. Web hosts use tricks like limiting execution times to reduce server load.

This type of issues will be less common when using managed WordPress hosting or VPS hosting plans. If the error continues to persist, consider moving your website to a better hosting provider.

+ Share
Disclosure

Editorial Staff

Related Posts

Back to all articles
  • Sorry You Are Not Allowed to Access This Page

    7 Ways to Fix the ‘Sorry You Are Not Allowed to Access This Page’ Error

  • How to Duplicate a Page in WordPress

    How to Duplicate a Page in WordPress

  • How to Create a Site Icon for Your WordPress Website

    How to Create a Site Icon for Your WordPress Website

Coupons

View more deals
  • Imagely Coupon
    20% OFF

    Imagely Coupon

    Photographers and WordPress are a match made in heaven. The flexi
    Get This Deal
  • 20% OFF

    Flothemes Coupon

    As an experienced photographer, it’s not always easy to get the
    Get This Deal
  • Nexcess coupon code
    Save 40%

    Nexcess Coupon

    Looking to save money on managed hosting from Nexcess?
    Get This Deal

Leave a Reply Cancel reply

Full Disclosure This post may contain affiliate links, meaning that if you click on one of the links and purchase an item, we may receive a commission (at no additional cost to you). All opinions are our own and we do not accept payments for positive reviews.

THE BEST OF WPKUBE

Some of the best content we have published so far.

BEGINNER GUIDES & REVIEWS

1How to Start a WordPress Blog (Step by Step Guide)
2How to Install WordPress - The Complete Guide
38 Best Options for Managed WordPress Hosting Compared
4The 6 Best WordPress Hosting Providers for 2021 Compared
5Top 9 Landing Page Plugins for WordPress (2021)
69 Best List Building Plugins for WordPress In 2021
7How to Fix the 500 Internal Server Error on Your WordPress Website
8Beaver Builder Review: Is it The Best Page Builder Plugin for WordPress (2021)?
9What is a Gravatar and Why You Should Get One
10Thrive Themes Review: A Look At The Full Membership
117 Best WordPress Migration Plugins Reviewed and Compared for 2021
12OptimizePress Review: Create Landing Pages with Ease
13How to Make a Website: Complete Beginner’s Guide
14WordPress.com vs WordPress.org: Which is Best for Me?
15Top 22 Best Free Stock Photo Resources For Your Site
1617 of the Best Google Fonts for 2021 (And How to Use Them in WordPress)
17LifterLMS Review: Is it The Ultimate WordPress LMS Plugin?
18How To Fix ‘503 Service Unavailable’ WordPress Error
1911 Best Contact Form Plugins for WordPress in 2021
20How to Use BackupBuddy – The Best Backup Solution for WP??
21How to Add a Custom Logo to Your WordPress Site
22Kinsta Review: Real Test Data + My Likes And Dislikes
23How to Fix Error Establishing a Database Connection in WordPress
24Thrive Architect Review – Best Landing Page Plugin for WordPress!

WPX Hosting: 50% OFF

Save 50% on WPX Hosting using our exclusive coupon code.

Get this Deal

Flywheel(our review)

Featured In Forbes Huffpost Entrepreneur SEJ

About WPKube

WPKube is an online WordPress resource which focuses on WordPress tutorials, How-to’s, guides, plugins, news, and more. We aim to provide the most comprehensive beginner’s guides to anything about WordPress — from installing plugins, themes, automated installs and setups, to creating and setting up pages for your website.

We have over 500+ tutorials, guides, product reviews, tips, and tricks about WordPress. Founded by Devesh Sharma, the main goal of this site is to provide useful information on anything and everything WordPress.

Twitter Facebook

Useful Links

  • Behind the Scenes
  • Beginner Guides
  • WordPress Hosting
  • WooCommerce Themes
  • MeridianThemes
  • Exclusive WordPress Deals
View All Guides »

Reviews

  • WPEngine 33% OFF
  • Thrive Leads
  • Flywheel 33% OFF
  • Divi Theme 20% OFF
  • Thrive Architect
  • Elegant Themes
Reviews »

Deals

  • InMotion Hosting
  • LifterLMS Coupon
  • LiquidWeb Coupon
  • WPEngine Coupon
  • A2 Hosting
  • FloThemes
More Deals »
© Copyright 2021 WPKube ® All Rights Reserved.
  • About
  • Contact
  • Site Terms
  • Disclosure
  • Privacy Policy