I'm having two major problems with plugins. Revo 2.2.10, OnParseDocument.
1. According to the modparser.class.php file, line 226:
$this->modx->invokeEvent('OnParseDocument', array('content' => &$content));
How do I access this 'content' to manipulate the content at this point?
2. Any time I try to return a value with the onParseDocument event in order to get a log message I get a delay then a white-page with a PHP out-of-memory error, so I presume it's going into some kind of loop. Is this a bug, or has something changed in the event processing code? All other events appear to work as expected.