Title: PHP version 7
Last modified: July 3, 2018

---

# PHP version 7

 *  Resolved [lonelywriter](https://wordpress.org/support/users/lonelywriter/)
 * (@lonelywriter)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/)
 * Hi,
 * Has the plugin been tested with PHP version 7? I ask because last week my site
   was on version 5.6 and I got it working perfectly and syncing with API key from
   Google for the calendar.
 * I did a fresh install and template today but template works better with PHP 7
   and having sme bugs with 5.6. I activated your plugin without any problem and
   I see the form on the Website.
 * The problem is for the Google calendar sync. I am logged into Google and the 
   OAuth is still active. I enter the API key and secret key but under that it always
   shows the message “To get the list of your Google Calendar you need to log-in
   with Google OAuth. At the moment you are not logged-in.” And simply does not 
   save the information.
 * Would this be a PHP version problem? I believe I am doing everything correctly
   as it was working just a few days ago before my change. Could something else 
   be interfering with your plugin?
 * Thank you for your time and I wish you a great day.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [lonelywriter](https://wordpress.org/support/users/lonelywriter/)
 * (@lonelywriter)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10459506)
 * PS
 * I reverted to PHP 5.6 for a test. I also generated new API keys. Every time I
   click the “Get Authorization” button it returns to the same page and does not
   retain any information. Like nothing happened.
 * So obviously not a PHP version thing. What else could cause this?
 * I forgot to add one last thing that might be important. My site is now https.
   I did generate new API keys and Web application with new information. However
   is there a known issue with the plugin and HTTPS?
 * Thank you again.
    -  This reply was modified 7 years, 11 months ago by [lonelywriter](https://wordpress.org/support/users/lonelywriter/).
 *  Thread Starter [lonelywriter](https://wordpress.org/support/users/lonelywriter/)
 * (@lonelywriter)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10459561)
 * OK sorry I realize you have to save information and then get authorization. But
   after I sign in it gives me the following error:
 * Fatal error: Uncaught Error: Call to undefined method Google_Http_REST::createRequestUri()
   in /wp-content/plugins/salon-booking-system/src/SLN/Third/google-api-php-client/
   src/Google/Service/Resource.php:189 Stack trace: #0 /wp-content/plugins/salon-
   booking-system/src/SLN/Third/google-api-php-client/src/Google/Service/Calendar.
   php(1137): Google_Service_Resource->call(‘list’, Array, ‘Google_Service_…’) #
   1 /wp-content/plugins/salon-booking-system/src/SLN/Third/GoogleScope.php(384):
   Google_Service_Calendar_CalendarList_Resource->listCalendarList() #2 /wp-content/
   plugins/salon-booking-system/views/settings/tab_gcalendar.php(54): SLN_GoogleScope-
   >get_calendar_list() #3 /wp-content/plugins/salon-booking-system/src/SLN/Admin/
   SettingTabs/AbstractTab.php(49): include(‘/home3/karras/e…’) #4 /wp-content/plugins/
   salon-booking-syst in /wp-content/plugins/salon-booking-system/src/SLN/Third/
   google-api-php-client/src/Google/Service/Resource.php on line 189
 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10462641)
 * Hi,
 * do you still have this error?
 *  Thread Starter [lonelywriter](https://wordpress.org/support/users/lonelywriter/)
 * (@lonelywriter)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10462712)
 * Hi,
 * After I got it saved I had to switch back to PHP 5.6 to make it work. At PHP 
   7 it gives this error while authenticating. I tried it a couple times.
 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10483034)
 * This issue has been fixed.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP version 7’ is closed to new replies.

 * ![](https://ps.w.org/salon-booking-system/assets/icon-256x256.gif?rev=3214950)
 * [Salon Booking System - Free Version](https://wordpress.org/plugins/salon-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salon-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salon-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/salon-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salon-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salon-booking-system/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)

 * 5 replies
 * 2 participants
 * Last reply from: [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/php-version-7-4/#post-10483034)
 * Status: resolved