How to Fix Fatal Error Maximum Execution Time Exceeded in WordPress
If you are trouble with fatal error maximum execution time exceeded error in your WordPress blog then it means you need to increase the PHP maximum execution time limit in your web server. You will encounter this error while updating or installing plugins or themes in your website.
In this tutorial you will learn how to fix Fatal Error or maximum execution time limit execution error easily without hassle.
Why do WordPress throw Fatal Error?
Fatal Error or maximum execution time exceeded error occur when you tried to install and update WordPress plugin or theme.
WordPress runs with PHP, the programming language where the line of code which is also called script controls the functionalities of your website such as installing and updating plugins or themes. This error occurs when installation of plugin or theme exceed maximum time limit that was set in your web server.
Typically, maximum time limit is set to 30 seconds varies across hosting provider. But you can easily increase the script execution time limit, simply adding a line of code in .htaccess file in your web server.
How to Fix this Error Maximum Execution Time Exceeded?
Your WordPress core files in the web server contains .htaccess file. You need to add below line of code and set the maximum execution time limit to 300 or 600 seconds.
Connect FTP client FileZilla to the web server using your FTP login Credentials. From the server section, Double click on public_html at the right side where your WordPress core files are installed.
Look for the .htaccess files you will find this file in the root directory of your web server. Right click on the .htaccess file and click on View/Edit.
You will see notepad editor to add the line of code. Add the below line of code at the bottom of the page which will increase maximum execution time to 600 second (10min).
php_value max_execution_time 600
Once line of code added in the editor save the file and reload your website in the browser to see if the error is disappeared.
If the error still exist then you should deactivate installed plugins and theme to find out which faulty script in the plugin or themes is creating issue. You can refer to this guide on how to deactivate all the WordPress plugins and guide on how to deactivate WordPress theme. If this steps also couldn’t fix this error you should contact your web hosting provider to resolve this error.
We hope this guide has helped you to fix fatal error maximum execution time exceeded error in your WordPress blog. If you find this guide helpful, do not hesitate to share and follow on facebook and twitter.