Fix: Do not report trigger errors twice.
Fix: Error when creating event was not reported.
Fix: Can not set delay to zero.
Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop