Could not Authorize Google Calendar

Support forumCould not Authorize Google Calendar
rahdian_saepuloh Staff asked 6 years ago
I followed all the steps on the video and I got the credentials for Google Calendar's API. I selected my google account I wanted to connect and hit the ALLOW button but then there was this message below:

Fatal error: Uncaught exception 'Google_IO_Exception' with message 'The stream IO handler requires the allow_url_fopen runtime configuration to be enabled' in /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/IO/Stream.php:51 Stack trace: #0 /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Client.php(629): Google_IO_Stream->__construct(Object(Google_Client)) #1 /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Auth/OAuth2.php(112): Google_Client->getIo() #2 /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/Client.php(128): Google_Auth_OAuth2->authenticate('4/AAB4IUqQOwNOF...', false) #3 /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/main.php(315): Google_Client->authenticate('4/AAB4IUqQOwNOF...') #4 [internal function]: EasyAppointmentsCo in /home/language/public_html/jadwal/wp-content/plugins/easy-appointments-connect/vendor/google/apiclient/src/Google/IO/Stream.php on line 51
1 Answers
Nikola Loncar Staff answered 6 years ago
Hi, looks like you will have to change some settings on your hosting. Please take a look on this part allow_url_fopen. It is needed for making API calls to Google Calendar. More info on that on this link: http://php.net/manual/en/filesystem.configuration.php. Best regards, Nikola