Steps to reproduce
Install bookingpress plugin and enable Google calendar integration
Getting the following error:
Fatal error: Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in /home/website/public_html/wp-content/plugins/hivepress/vendor/guzzlehttp/guzzle/src/Utils.php:116 Stack trace: #0 /home/website/public_html/wp-content/plugins/hivepress/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent() #1 /home/website/public_html/wp-content/plugins/bookingpress-google-calendar/lib/vendor/guzzlehttp/guzzle/src/Client.php(185): GuzzleHttp\default_user_agent() #2 /home/website/public_html/wp-content/plugins/bookingpress-google-calendar/lib/vendor/guzzlehttp/guzzle/src/Client.php(73): GuzzleHttp\Client->configureDefaults(Array) #3 /home/website/public_html/wp-content/plugins/bookingpress-google-calendar/lib/vendor/google/apiclient/src/Google/Client.php(1034): GuzzleHttp\Client->__construct(Array) #4 /home/website/public_html/wp-content/plugins/bookingpress-google-calendar/lib/vendor/google/apiclient/src/Google/Client.php(1008): Google_Client->createDefaultHttpClient() #5 /home/website/pub in /home/website/public_html/wp-content/plugins/hivepress/vendor/guzzlehttp/guzzle/src/Utils.php on line 116
Answer from bookingpress developer:
Regarding Fatal errors for that, I’ve checked your error and it seems that it does not come from the BookingPress but from the hivepress as we can see the hivepress path in the given path. ( wp-content/plugins/hivepress/vendor/guzzlehttp/guzzle/src/Utils.php on line 116 ) .
Thanks,