When you are receiving “Maximum execution time of 30 seconds exceeded” or “Maximum execution time of 60 seconds exceeded” That means it is taking longer for a process to complete the execution and it is timing out. It is required to increase the time for execution the script for Wordpress. To get rid of that error you can try any of the following solution to fix.
To adjust on your own, it is required intermediate knowledge at code level; as these are not front end changes.
Please don’t forget to take backup of your files which are going to edit.
1. By Editing .htaccess
Add the following line to .htaccess:
php_value max_execution_time 60
2. By Editing php.ini
Add the following to php.ini
max_execution_time = 60
If you are on shared hosting or doesn’t allowed your change by your provided account, you should have to contact your service provider to ask them for increase your maximum execution time.