If you’re getting the “Fatal error: Maximum execution time of 30 seconds exceeded in…” error in WordPress then, you need to increase the WordPress execution time limit.
How to increase the execution time in WordPress:
- Connect to your website’s server via an FTP program.
- Download the file ‘public_html’ > ‘wp-config.php’.
- Use a text editor or code editor to add this line of code “set_time_limit(400);” just before where it says “That’s all, stop editing! Happy blogging.”. Save the changes.
- Use the FTP program to upload and replace ‘wp-config.php’ with the edited version.
The execution time limit error should be gone.