Hm, that is strange. What’s more, your error says "Line 1 number 1:[[Sitemap]]"
This seems to imply that your MODX installation cannot interpret the snippet call.
So, this might have nothing to do with this snippet, but with snippets as a whole.
Questions:
- Do you have more snippets in your application?
- Could you call other snippets (eg: eform) as a test
- Can you create a new snippet and call that.
Contents of the snippet:
<?php
print "<h1>Hello World</h1>";
?>
Call this snippet someting like ’mysnippet’
and call it somewhere in your code with the following call:
Maybe this sheds some light on the problem.
Bert