#736086 by rfay, heltem: Fixed Cannot use object of type stdClass as array. Removed extraneous hook invocation.