Okay, this one has been bugging me for a while, and I can't seem to figure out exactly what's causing it.
Here's
a page that exists.
Take a look at the design. Keep that in mind as you visit
a page that doesn't exist.
Note the four characters at the top of the page, inside the page-wide blue bar. For me, right now, they're "3079". They change when I modify the site settings to use a different page as the error page, or when I change what template the error page is using. Currently, however, two pages linked above are using the exact same template.
If you view the source of the error page, you'll see that the characters are being injected right before the DOCTYPE, like MODX is outputting those first, and then the rest of the page.
Does anyone have any idea what the heck is going on here?