Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wnpolzin opened this issue May 28, 2024 · 2 comments
Open

Comments

@wnpolzin
Copy link

wnpolzin commented May 28, 2024

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
Copy link
Contributor

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
Copy link
Author

wnpolzin commented Jun 7, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants