Support forumCategory: QuestionsPHP warning Google Cron
brian asked 3 years ago

I can create a appointment in Google Calendar with cron set to run at 5 min intervals and it shows time taken.
When I try and create a appoint from the website nothing happends when I click Submit or Cancel.
Checking Error logs I see this as the constant issue

PHP Warning:  Invalid argument supplied for foreach() in /home/xxxxxx/public_html/wp-content/plugins/easy-appointments-connect/src/cron/google_cron.php on line 235

Here are lines 235, 236, 237
Start your code here
foreach ($ids as $id) {
do_action('ea_user_email_notification', $id);

Emails work when testing using either test buttons.

Please advise.
Thank you