Quick Fix of the PHP Fatal error Maximum execution time 30 seconds exceeded in WordPress. There are three ways. Use either one. Also please backup the files before making changes so that you can revert the same if there are any issues.
Fixing “Maximum execution time 30 seconds exceeded“
Add this line above “/* That’s all, stop editing! Happy blogging. */” comment.
php_value max_execution_time 60
max_execution_time = 30 ;