Hello @tremel !
I remember having seen something similar on the GRAV’ Slack, where people were talking about this kind of PHP memorry error, and about images generating.
There is also some archives on this forum : Responsive images
Try to considere these things :
- Images generation in some of the pages called, results in PHP memory saturation (even if the trigger is a page in wich there is no image).
- Calling a markdown with empty content, in the context of your complex tempate, results in a bug. You could workaround by setting a dummy text, and just hidding it (as you tried yourself).
- Your template is too complex, in some way. There is a kind of loop in the data process, or anything performing the aforementioned saturation.