Search for answers:
The OptimizePress Support Site Has Moved: Click here to access the new Support site

Error - Fatal Error Maximum Execution Time

If you are getting an error similar to:

Fatal error: Maximum execution time of 60 seconds exceeded in ...

This is usually because your hosting company need to increase the max_execution_time value on your server

This is basically the time your server allows for PHP functions to complete.  Unfortunately this is outside of the control of the OP options, but there are a few things we can do to fix this....

To fix this, you need to add one line of code into a file within your Wordpress site.

 ** NOTE GODADDY USERS - You may need to speak to Godaddy to ask them to increase this for you as we have found the fix below does not often work on their servers **


If you are using the Theme version:

Go to Appearance > Editor > and on the right side locate the "framework.php" file and click it.  

Next you need to paste in this code:

ini_set('max_execution_time', 600);


If you are using the Plugin version:

Go to Plugins > Editor and paste this line of code into the "optimizepress.php" file:

ini_set('max_execution_time', 600);

If you have problems doing this - we can update this for you.  Send over your site url and admin logins.  Please note that in some circumstances the override within Wordpress will not work and in these cases we ask you to contact your hosting company or server administrator to increase this limit
Didn't find an answer to your question? Contact Our Support Team (Submit a ticket)
Was this article helpful?
2 out of 2 found this helpful


Other Help Categories:

Get Started Guide

Watch our Ultimate Getting Started guide video

Pre-Sales Questions

Ask questions before purchasing our products

Login Problems

If you're having issues logging into our members hub

Accounts & Billing

Update your billing, request a refund and other accounts help

API Key Issues

Get help with licensing your site and API key issues

Membership Help

Get help creating Membership portals and courses

LiveEditor Help

If you need help using or troubleshooting the LiveEditor


Find out about the many integrations possible with OptimizePress

Affiliate Questions

Have questions about promoting OptimizePress

Clubhouse Questions

Questions about our Clubhouse Membership Subscription