AnsweredAssumed Answered

Undefined Variable $bean / Missing Argument on Logic Hook

Question asked by Arthur Chocholacek on Oct 16, 2015
Latest reply on Oct 26, 2015 by Arthur Chocholacek
Hi Folks,

Got an issue I've not seen before.

Have a custom module, nothing fancy to it, and I am trying to implement a before_save logic hook. I am using Logic Hook code that I've used countless times before, and the code triggers, but when it does, the $bean, $event, and $arguments variables are not passed to the hook function. It does execute, as I can log an error from inside it, but the variables aren't passed.

The only difference between this hook and a similar one on the same system is the module, and I can't for the life of me figure out what might be causing the issue, so I'd appreciate some guidance.