• I am running this CRONJAB task every minute *****: wget -O /dev/null https://***********.com/wp-cron.php?action=sln_sync_from_google_calendar

    I turned on WP_DEBUG and this is what it shows the CRONJOB from https://**********.com/wp-cron.php?action=sln_sync_from_google_calendarshows:

    <strong>Current token ''
    
    Fatal error: Uncaught Google_Exception: (list) missing required param: 'calendarId' in /home/u281022731/domains/**********.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Service/Resource.php:165 Stack trace: #0 /home/u281022731/domains/**********.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/vendor/google/apiclient-services/src/Google/Service/Calendar/Resource/Events.php(271): Google_Service_Resource->call('list', Array, 'Google_Service_...') #1 /home/u281022731/domains/**********.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleCalendarImport.php(79): Google_Service_Calendar_Resource_Events->listEvents(NULL, Array) #2 /home/u281022731/domains/**********.com/public_html/wp-includes/class-wp-hook.php(286): SLN_Third_GoogleCalendarImport->syncFull('') #3 /home/u281022731/domains/**********.com/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL in /home/u281022731/domains/**********.com/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Service/Resource.php on line 165
    The site is experiencing technical difficulties.</strong>
    • This topic was modified 5 years, 8 months ago by sleque.

    The page I need help with: [log in to see the link]

  • The topic ‘Google Calendar Cronjob’ is closed to new replies.