I set up a PDF as a static resource so it could show up in menus etc. with other static materials, but when I try to click on it, PHP chokes:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 281542 bytes)
in /path/to/modx/core/model/modx/modparser.class.php on line 97
It’s a PDF file:
Content Type = HTML
content disposition type = Attachment
NOT cacheable
I’ve tried this with content type = PDF (I think that’s a type I created), but I still get the error. In the end I had to just put a static link to the file.
Anyone else have an issue like this?