Google Cal sync back not working

SupportGoogle Cal sync back not working
ferdinand_seulen Staff asked 7 years ago
Hi, I have installed everything correctly and the sync from EA to google cal works fine. Unfortunately, the sync back to EA function does not work. Any ideas what the problem could be? Thanks
4 Answers
Nikola Loncar Staff answered 7 years ago
Hi Ferdinand, looks like WP Cron is not working as it should be. Can you please tell have you connected your WP Cron with system scheduler on your hosting? Best regards, Nikola
ferdinand_seulen Staff replied 7 years ago

Hi Nikola, thanks for quick reply. No, I have not connected WP Cron with system schedular as it was a bit too complicated for me 🙁 Is there a step by step guide anywhere available? Thanks and regards, Ferdinand

ferdinand_seulen Staff replied 7 years ago

Should I add a Cronjob provided by my hoster?

Nikola Loncar Staff replied 7 years ago

Yes, you will need to add cronjob that will call wp cron. Here you can read this article https://www.inmotionhosting.com/support/website/wordpress/disabling-the-wp-cronphp-in-wordpress
Make sure that you run cron every 5 minutes.

Best regards,
Nikola

ferdinand_seulen Staff replied 7 years ago

Ran the Cronjob and got the following feedback.

Warning: DateTime::modify(): Failed to parse time string (+ days) at position 0 (+): Unexpected character in /www/htdocs/xxxxxxx/wp-content/plugins/easy-appointments-connect/src/google_event_helper.php on line 61

Warning: DateTime::modify(): Failed to parse time string (+ days) at position 0 (+): Unexpected character in /www/htdocs/xxxxxx/wp-content/plugins/easy-appointments-connect/src/cron/google_cron.php on line 185

Warning: DateTime::modify(): Failed to parse time string (+ days) at position 0 (+): Unexpected character in /www/htdocs/xxxxxxx/wp-content/plugins/easy-appointments-connect/src/cron/google_cron.php on line 276

Nikola Loncar Staff answered 7 years ago
Hi Ferdinand, can you please go and check the settings inside Extension Google page. There is field called Sync data for next, you must set value there it must not be empty. Best regards, Nikola
ferdinand_seulen Staff replied 7 years ago

ah ok, will check

ferdinand_seulen Staff answered 7 years ago
Hi Nikola, unfortunately still not working. I wanted to double check the setting you have to make in the admin console.  Where it says "Default location" and "Default service" should not be blank, right? BTW, why do you have to enter a default service?  Thanks for feedback.  regards Ferdinand
ferdinand_seulen Staff replied 7 years ago

Hi Nikola,
working now, thanks!!!!!
Best regards, Ferdinand
P.S.: Love the tool, great work!!!!

Nikola Loncar Staff replied 7 years ago

You’re welcome. Default location and default service are there because Google Calendar event must be connected in EA with Service, Location and Worker. So for worker it will try to match email but Service and Location are different thing. 🙂

Best regards,
Nikola

hannes_lorenz Staff answered 7 years ago
Is it possible to write the service name in the appointment and EA would recognize the correct service?
Nikola Loncar Staff replied 7 years ago

Hi that is very hard to implement. Maybe other users want to see location instead of service etc. My suggestion is to split calendars and create mapping so each service goes to it’s own calendar.

Best regards,
Nikola