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.
But you're requesting a txt file, not an html file. You need a txt.twig file or you need to fix your request so it's actually requesting text/html from Grav.
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.
Start happening after upgrading to 1.6.0-rc2
So the issue seams to be related to modular pages. All my other Pages are working just fine.

My landingpage.md
`---
title: Landingpage
slug: /
content:
items: '@self.modular'
order:
custom:
- _hero
- _featured
- _getstarted
- _products
- _news
---`
my templates:

I'm pretty sure my site worked before in IE11.
Since I have everything in git, i checkout at the pre-rc releases and the bug was also present. So forget about my comment above.

php -S localhost:8000 system/router.php works just fine
maybe it's a htaccess problems? Any Ideas @rhukster ?
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
What IE11 Version are you using @rhukster
you can check my test site
http://gidrm.tbodev.de/en (this is the landingpage with 3 modular elements)
Found it! ok, not sure how this happens, but the order of the page types must be wrong. I had txt first, and it should be html. If you edit your user/config/system.yaml file... look for system.pages.types and change that array to:
types:
- html
- htm
- xml
- txt
- json
- rss
- atom
This fixed it for me.
maybe thats why Utils::getExtensionByMime($mimetype); always returned text/plain
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):
when missing favicon image file, grav points favicon tag to web root
<link rel="icon" type="image/png" href="/" />
which makes browser request start page with Accept: image/webp,image/apng,image/* header.
And this request makes modular pages being rendered with .txt.twig insterad of .html.twig templates.
This happens in all browsers and changing the order of page types does not help.
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?
It was kind of misleading In my case, since grav tried to render txt.twig template instead of just loading exactly the same page once again.
@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.
Most helpful comment
Found it! ok, not sure how this happens, but the order of the page types must be wrong. I had
txtfirst, and it should be html. If you edit youruser/config/system.yamlfile... look forsystem.pages.typesand change that array to:This fixed it for me.