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

By WP Saviour •  Updated: 04/16/21 •  2 min read

Currently one among our clients knowledgeable us they weren’t able to exchange their WordPress theme because of Lethal Error: Most Execution Time Exceeded in WordPress. Fixing this error is relatively straightforward, nonetheless it might be really irritating for saviours. On this text, we’ll current you learn how to restore lethal error: most execution time exceeded in WordPress.


Why Most Execution Time Exceeded Error Occurs?

WordPress is coded primarily in PHP programming language. To protect web servers from abuse, there is a time prohibit set for a manner prolonged a PHP script can run. Some WordPress hosting suppliers have set this price to a greater stage whereas others might need set it to a lower stage. When a script reaches the utmost execution time prohibit, it outcomes into most execution time exceeded error.

Fixing Most Execution Time Exceeded Error

There are two strategies it’s possible you’ll restore this error. The first methodology is to restore it manually by enhancing your .htaccess file and the second methodology helps you to do the an identical issue with a plugin.

Approach 1: Enhancing .htaccess File Manually

Merely join along with your web page using an FTP shopper.

Your .htaccess file is positioned within the an identical folder as your /wp-content/ and /wp-admin/ folders. Ought to you’ll be able to’t uncover it, then take a look at our article on why you can’t find the .htaccess file and how to find it.

Subsequent, add this line to your .htaccess file:


php_value max_execution_time 300

This code merely models the price for max execution time to 300 seconds (5 minutes). Do you have to nonetheless get the error, then try rising the price to 600.

Do you have to found this technique easier, then check out these most useful .htaccess tricks for WordPress.

Approach 2: Using a Plugin

Do you have to don’t need to edit .htaccess file manually, then it’s possible you’ll arrange and activate the WP Maximum Execution Time Exceeded plugin.

That’s all. The plugin works out of the sphere and can enhance the utmost execution time to 300 seconds.

We hope this textual content helped you restore lethal error: most execution time exceeded in WordPress. Do you have to come all through another factors, then don’t neglect to check our guidelines of commonest WordPress errors and learn how to restore them.

gp-8572190 as-1933034

WP Saviour

I am a WordPress specialist. My mission is to help you create beautiful websites with ease!