Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Templates randomly not being included #4052

Closed
Simbiat opened this issue Apr 24, 2024 · 1 comment
Closed

Templates randomly not being included #4052

Simbiat opened this issue Apr 24, 2024 · 1 comment

Comments

@Simbiat
Copy link

Simbiat commented Apr 24, 2024

Hi. I am facing a really weird issue, where some templates seem to not be included in the final render of the page. You can see it on https://www.simbiat.dev/: on some reloads the elements tree will look like this
image
While on others like this
image
Note the extra elements after noscript tag and and elements over-lays and html-templates at the end of body. You may need to refresh the page multiple times to get both examples. The page is not cached in any way. There are no errors logged in anywhere, as if everything is fine., but it feels as if it may be failing to access the template files (even though they are cached on file system, too), and that's why it does not include them.
I have no idea how to even try to debug this, especially, since I can't get this on test, but Twig templates can be found here https://github.com/Simbiat/simbiat.ru/tree/master/twig calling function is here https://github.com/Simbiat/simbiat.ru/blob/9a95c1aaf0c9ec34aead6e4812fb892d075398ed/lib/simbiat.ru/src/HomePage.php#L261
I am not 100% sure, but I've bene noticing weird stuff happening since about the last update when I bumped Twig from 3.8.0 to 3.9.3, but I have not tested downgrading it yet.

@Simbiat
Copy link
Author

Simbiat commented Apr 24, 2024

Tried rolling back to 3.8.0 and 3.7.1 - same thing. Could be some update of any of dependencies or maybe even update to PHP 8.3, but I've implemented some changes which are 8.3 specific, so definitely can't rollback those now. Any advise on this would be appreciated.

@twigphp twigphp locked and limited conversation to collaborators Apr 29, 2024
@fabpot fabpot converted this issue into discussion #4058 Apr 29, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Development

No branches or pull requests

1 participant