I happened to have the MODx class open in my editor.
In mine, 3036 is the closing curly brace of this method:
/**
* Returns whether the event will propagate or not.
*
* @access public
* @return boolean
*/
public function isPropagatable() {
return $this->_propagate;
}
There’s one more short method below that one, then the EOF, so maybe Everett’s file got truncated.
[update]
Or, this code comes just before that function is called:
if ($msg && is_string($msg)) {
$this->log(modX::LOG_LEVEL_ERROR, '[' . $this->event->name . ']' . $msg);
} elseif ($msg === false) {
$this->log(modX::LOG_LEVEL_ERROR, '[' . $this->event->name . '] Plugin failed!');
}
Could $this->event-name be undefined? I think that would do it.