• Hello!
    There is a problem when setting up plugin synchronization.
    I can add events from the plugin calendar to google calendar. But I can’t add Google calendar events to the plugin’s calendar.
    Tech support sent a log.
    Can you help me?

    $ curl -i http://stason6t.beget.tech/wp-cron.php?action=sln_sync_from_google_calendar
    HTTP/1.1 500 Internal Server Error

    PHP Fatal error: Uncaught Google_Service_Exception: {
    “error”: {
    “errors”: [
    {
    “domain”: “usageLimits”,
    “reason”: “rateLimitExceeded”,
    “message”: “Rate Limit Exceeded”
    }
    ],
    “code”: 403,
    “message”: “Rate Limit Exceeded”
    }
    }
    in /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Http/REST.php:118
    Stack trace:
    #0 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Http/REST.php(94): Google_Http_REST::decodeHttpResponse(Object(GuzzleHttp\Psr7\Response), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’)
    #1 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Task/Runner.php(176): Google_Http_REST::doExecute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’)
    #2 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Http/REST.php(58): Google_Task_Runner->run()
    #3 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Client.php(798): Google_Http_REST::execute(Object(GuzzleHttp\Client), Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’, Array)
    #4 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Service/Resource.php(232): Google_Client->execute(Object(GuzzleHttp\Psr7\Request), ‘Google_Service_…’)
    #5 /home/s/stason6t/s_light_smolensk/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(403): Google_Service_Resource->call(‘update’, Array, ‘Google_Service_…’)
    #6 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleCalendarImport.php(586): Google_Service_Calendar_Resource_Events->update(‘stasongodlike67…’, ‘vnnk6pl9sghkoss…’, Object(Google_Service_Calendar_Event))
    #7 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleCalendarImport.php(167): SLN_Third_GoogleCalendarImport->makeGoogleCalendarEventSyncWrong(Object(Google_Service_Calendar_Event), ‘Invalid service…’)
    #8 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleCalendarImport.php(121): SLN_Third_GoogleCalendarImport->importBookingFromGoogleCalendarEvent(Object(Google_Service_Calendar_Event))
    #9 /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleCalendarImport.php(97): SLN_Third_GoogleCalendarImport->importBookingsFromGoogleCalendarEvents(Array)
    #10 /home/s/stason6t/s_light_smolensk/public_html/wp-includes/class-wp-hook.php(287): SLN_Third_GoogleCalendarImport->syncFull(”)
    #11 /home/s/stason6t/s_light_smolensk/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #12 /home/s/stason6t/s_light_smolensk/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #13 /home/s/stason6t/s_light_smolensk/public_html/wp-settings.php(562): do_action(‘wp_loaded’)
    #14 /home/s/stason6t/s_light_smolensk/public_html/wp-config.php(91): require_once(‘/home/s/stason6…’)
    #15 /home/s/stason6t/s_light_smolensk/public_html/wp-load.php(37): require_once(‘/home/s/stason6…’)
    #16 /home/s/stason6t/s_light_smolensk/public_html/wp-cron.php(44): require_once(‘/home/s/stason6…’)
    #17 {main}
    thrown in /home/s/stason6t/s_light_smolensk/public_html/wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/src/Google/Http/REST.php on line 118

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘events from google calendar. cron problem’ is closed to new replies.