I hope you are well today and thank you for your question.
The error occurs when server allocates less than required maximum execution time to PHP so try increasing maximum execution time by using following solutions and if the solutions don’t help then contact your web host to increase it.