I’m trying to make a logic hook that sets a field on a contact after it is created. However, I cannot get it to work. Nothing happens and there are no errors reported.
name the file wrong (does not match what’s in the hook)
Put the file hook file in wrong directory
put the actual file in the wrong directory or does not match the path in the hook
The class and method called in the hook don’t match the actual class and method in the file.
(Also don’t forget to repair and rebuild)
If the above 4 things check out, then check file permissions. Perhaps the hook file isn’t running due to SuiteCRM doesn’t have permission to run it.