I am getting the following error when i run a php code.
“Fatal error: Maximum execution time of 60 seconds exceeded in line 143”.
What should i do. It goes into a for loop during this line
I am getting the following error when i run a php code. Fatal error:
Share
It means it is probably an infinite loop.
Make sure you are exiting the loop at some point. Probably the condition for continuing the loop is always true so it never stops running the code inside.
If the huge number of iterations is intentional, you have to increase the time limit.