A client of ours has a pretty large site with lots of content: hundreds of entries across ~10 collections; ~20-30 pages; some of those pages have child pages nested up to 2 levels deep; there are also hundreds of images in assets across ~20+ folders.

Error we're seeing: When the content editors attempt to save a page it just hangs; the save button become inactive and then an error message shows at the bottom of the screen after about 2 or 3 minutes with instructions to check the Statamic logs.

Below is a sample from the logs. There are about 30 of these messages in the log.

Also, I know what the missing image error is (there are several of them). Client prob deleted that image from within assets and never updated the entries that use it.

[statamic.log]

production.ERROR: File not found at path: assets/sponsors-and-partners/sponsor-partner.jpg  

production.ERROR: Symfony\Component\Debug\Exception\FatalErrorException: Maximum execution time of 90 seconds exceeded in statamic/vendor/mustangostang/spyc/Spyc.php:347
Stack trace:
#0 {main}

What I'm looking for: Can anyone give me an idea what's the cause of this max execution time error and the best way to address it.

Thanks, Reuben

Answered by Reuben! Go to answer.