-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Twig Runtime Error (IE 11 and Edge 42) #2337
Comments
But you're requesting a |
Many thanks. Do you know where to do this setting in Grav? |
This is a browser or server issue.. If the browser is requesting a text file, then it's not serving the page correctly, or the browser is requesting a text resource when it should be requesting an html one. |
I have the same Issue. |
So the issue seams to be related to modular pages. All my other Pages are working just fine. My landingpage.md content: I'm pretty sure my site worked before in IE11.
|
Ok, i was able to replicate this on my windows machine! I will investigate it! |
Ok, it did it one time, but after a refresh, it works every time. Grr.. very tricky to track this down if i can't reliably replicate it. |
Same here, we tested on a bunch machines now. Still got the error you can check my test site |
Found it! ok, not sure how this happens, but the order of the page types must be wrong. I had
This fixed it for me. |
maybe thats why and because I have different configs for stage/test/prod the extension order was different on each server and i couldn't figure out why it was working on stage. |
Fixed! Thank you so much! |
Did also fix it for me! Thanks guys for looking into it again. |
@rhukster Didn't you fix this already? |
seems not, i need to update the defaults in system.yaml |
Now done in 1.6 branch.. |
The re-ordering of the page types helped me also on Google index, since I got 5xx error every time I tried to reindex the page |
This fix is now in 1.6 release. |
sorry for reopening, but there might be a new side effect (mainly for custom themes): Since faulty href and src tags, causing browser to load website once again, are pretty common problem, probably grav should stick to first/default page type here instead of forcing txt? |
@vanilla-thunder Could you please create a new issue on this? Also, could you provide a minimal example of what to install to reproduce this issue, it would save some time if some themes work and some not. |
Error Message: An exception has been thrown during the rendering of a template ("Template "modular/3-columns.txt.twig" is not defined."). The html.twig template with the same name is definitely there.
You can test this here:
https://www.aepfelundkonsorten.org/home
Site working in Chrome, FF and Edge 42. Not in Edge 41.16, IE 11.
The text was updated successfully, but these errors were encountered: