Family Encyclopedia >> Electronics

How to Fix the 'Maximum Execution Time Exceeded' Fatal Error in WordPress

As experienced WordPress administrators, we've assisted numerous users facing the frustrating Fatal Error: Maximum Execution Time Exceeded when updating themes or plugins. This common issue is straightforward to resolve, even for beginners. Follow our proven step-by-step guide below.

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

What Causes the Maximum Execution Time Exceeded Error?

WordPress runs on PHP, where servers impose a time limit on script execution to prevent abuse. Hosting providers vary this setting—some generously, others conservatively. When a process exceeds this limit, you see the error.

How to Fix the Maximum Execution Time Exceeded Error

We recommend two reliable methods: manually editing your .htaccess file or using a dedicated plugin.

Method 1: Manually Edit the .htaccess File

Connect to your site via an FTP client like FileZilla.

The .htaccess file sits in the root directory alongside /wp-content/ and /wp-admin/. If hidden, enable 'Show Hidden Files' or consult our guide on locating it.

Add this line to .htaccess:

php_value max_execution_time 300

This extends the limit to 300 seconds (5 minutes). If issues persist, increase to 600. For more .htaccess tips, explore our advanced WordPress .htaccess optimizations.

Method 2: Use a Plugin

Prefer a no-code solution? Install and activate the WP Maximum Execution Time Exceeded plugin.

It activates instantly, boosting the limit to 300 seconds without further setup.

This should resolve your Fatal Error: Maximum Execution Time Exceeded in WordPress. For other issues, review our comprehensive list of common WordPress errors and fixes.

Subscribe to our YouTube channel for video tutorials, and follow us on Twitter and Google+ for updates.