thirdset / ThirdSetMauticTimingBundle

Mautic plugin for setting the timing (hours of the day, days of the week, etc) for when to trigger campaign events.
GNU General Public License v3.0
61 stars 25 forks source link

Undefined offset: 0 in HoursField.php #20

Closed petepal closed 5 years ago

petepal commented 5 years ago

I set up a campaign which goal is to send specific e-mail depending on the time of the day. I noticed e-mails are not sent.

When triggering campaign with

php app/console mautic:campaigns:trigger

I get:

PHP Notice: Undefined offset: 0 in /plugins/ThirdSetMauticTimingBundle/ThirdParty/Cron/HoursField.php on line 55

Any ideas what goes wrong? ;)

collinkrawll commented 5 years ago

It sounds like your cron expression might be bad. Please see the relevant info in this section of the readme.

If you can paste your cron expression here I can help check it.

collinkrawll commented 5 years ago

Please comment back if the issue didn't end up being your cron expression and I can look into it further.