How do I handle the exception below:
Fatal error: Maximum execution time of 30 seconds exceeded in ...
How do I handle the exception below:
Fatal error: Maximum execution time of 30 seconds exceeded in ...
You can resolve this using PHP's set_time_limit function. Just pass the timeout of running a script, in seconds.
This has nothing to do with the browser. The lock does not happen there, but on your server. The default timeout is 30 seconds. When it is exceeded, this error occurs. Alternatively, you can change the "max_execution_time" in php.ini.