-
☆ A M B ☆
- 57 Posts
Hi all,
I'm used to doing a switch($modx->event->name){ to effectuate the right part of a plugin and logging possible errors or helpful info to the log with $modx->log(LEVEL, "...").
Since the last update (to 2.2.4-pl traditional) the system reports the wrong event->name.
Only 'OnParseDocument' gets reported but it gets reported for each event.
I have the event 'OnDocFormSave' ticked on the 'System Events' tab but it gets the event->name 'OnParseDocument'.
Has anyone seen this behavior before? Any ideas on what I'm missing?
Thanks,
Maarten
I've had some trouble with plugins set as static elements. Thanks for reporting that.