Stillat / meerkat-statamic3

Meerkat 2 is an extremely powerful and easy-to-use comment platform for Statamic 3.
https://meerkatcomments.com/
Other
5 stars 4 forks source link

Maximum execution time of 240 seconds exceeded with meerkat:responses #242

Open wnpolzin opened 4 months ago

wnpolzin commented 4 months ago

PHP 8.1.20 Laravel 10.37.3 statamic 4.58.2 Meerkat 3.2.0

If I want to display the comments and use the following snippet

{{ meerkat:responses filter="is:published(true)|is:spam(false)" }} {{ comments }} test {{ /comments }} {{ /meerkat:responses }}

I run into a timeout. It makes no difference whether I use filters or not. The error message is

Symfony\Component\ErrorHandler\Error\FatalError: Maximum execution time of 240 seconds exceeded in file /var/project/src/vendor/league/commonmark/src/Parser/InlineParserEngine.php on line 155 #0 {main}

Does anyone have a clue as to what the problem might be or how I can solve it? Thanks!

EDIT: It seems that the timeout occurs somewhere else after each reload.

2nd reload: vendor/statamic/cms/src/Query/Builder.php: 186

3rd reload: vendor/dflydev/dot-access-data/src/Data.php: 118

JohnathonKoster commented 4 months ago

Hi there, does this happen on all pages, or just a select few? 🤔

One thing to try might be running php please stache:warm. If the issue persists, would you be able to share access to the site to help debug this one?

Thanks!

wnpolzin commented 3 months ago

It happens on all pages with the meerkat:responses tag. Unfortunately, stache warming does not help. I am trying to provide access to the system. Thanks a lot so far.