• 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
  • WordPress Hosting
    • A2 Hosting
    • HostGator
    • Bluehost
    • Cloudways
  • Managed Hosting
    • WPEngine
    • Rocket.net
    • WPX
    • Kinsta
  • Coupons
    • WPEngine
    • Flywheel
    • Cloudways
    • 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
  • How to Increase the Memory Limit in WordPress

    How to Increase the Memory Limit in WordPress

  • What is WordPress? A Beginner's Guide!

    What is WordPress? What Can it do & Is it Right for You? A Beginner’s Guide

  • How to Use Git to Push Your Local Site Live

    How to Use Git to Push Your Local Site Live

Coupons

View more deals
  • Recipe Card Blocks Coupon
    15% OFF

    Recipe Card Blocks Coupon

    Running a cooking or food website can be fun (and tasty) – but
    Get This Deal
  • WP 2FA Coupon
    20% OFF

    WP 2FA Coupon

    Security should be at the forefront of all site owner’s min
    Get This Deal
  • Themskingdom Coupon
    20% OFF

    ThemesKingdom Coupon

    First impressions count. As such, you’ll want a WordPress t
    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

18 Best Cheap WordPress Hosting Providers in 2023 (From $1.99)
210 Best WordPress Hosting Options for 2023 (Pros & Cons)
38 Best Managed WordPress Hosting Providers for 2023 Compared
45 Best WooCommerce Hosting Providers Compared in 2023 (All Budgets)
5Top 9 Landing Page Plugins for WordPress (2023)
69 Best List Building Plugins for WordPress In 2023
7How to Fix the 500 Internal Server Error on Your WordPress Website
8Thrive Themes Review: A Look At The Full Membership
9Beaver Builder Review: Is it The Best Page Builder Plugin for WordPress (2023)?
10OptimizePress Review: Create Landing Pages with Ease
11How to Make a Website: Complete Beginner’s Guide
12Top 22 Best Free Stock Photo Resources For Your Site
1317 of the Best Google Fonts for 2023 (And How to Use Them in WordPress)
14How to Start a Blog in 2022 (Step by Step Guide)
15How To Fix ‘503 Service Unavailable’ WordPress Error
1611 Best Contact Form Plugins for WordPress in 2023
17How to Add a Custom Logo to Your WordPress Site
18How to Fix Error Establishing a Database Connection in WordPress

WPEngine: 50% OFF Deal

Save 50% on one of the best managed hosting providers.

Get this Deal

Flywheel(our review)

Our Newsletter

Get awesome content delivered straight to your inbox.

Thank you!

You have successfully joined our subscriber list.

.
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 2023 WPKube ® All Rights Reserved.
  • Contact
  • Site Terms
  • Disclosure
  • Privacy Policy