• Updated from 3.1.32 to 3.1.33 today and got this error on my site (use attached link to screenshot). I reverted back to 3.1.32 and all is well again.

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

Viewing 15 replies - 1 through 15 (of 36 total)
  • I am receiving this same issue on my sites. The guzzlehttp library appears to be in direct conflict with other plugins leading to 500 errors. Developer please see stack trace:

    PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/Utils.php:121
    Stack trace:
    #0 /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
    #1 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
    #2 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array)
    #3 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/google/apiclient/src/Google/Client.php(1058): GuzzleHttp\Client->__construct(Array)
    #4 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/google/apiclient/src/Google/Client.php(1032): Google_Client->createDefaultHttpClient()
    #5 /home/[redacted]/public_html/wp-cont in /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/Utils.php on line 121
    [01-Oct-2020 21:48:48 UTC] PHP Fatal error:  Uncaught Error: Undefined class constant 'MAJOR_VERSION' in /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/Utils.php:121
    Stack trace:
    #0 /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\Utils::defaultUserAgent()
    #1 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\default_user_agent()
    #2 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\Client->configureDefaults(Array)
    #3 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/google/apiclient/src/Google/Client.php(1058): GuzzleHttp\Client->__construct(Array)
    #4 /home/[redacted]/public_html/wp-content/plugins/[redacted; plugin in conflict using same library]/vendor/google/apiclient/src/Google/Client.php(1032): Google_Client->createDefaultHttpClient()
    #5 /home/[redacted]/public_html/wp-cont in /home/[redacted]/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/Utils.php on line 121
    simplecalendarsupport

    (@simplecalendarsupport)

    Hello,

    Could you do some troubleshooting by disabling other plugins/theme and see if there are any plugins that seem to be causing the guzzle conflict? We would like to see if there is something we need to work around (another plugin) or if it still is broken without anything else activated.

    Thanks!

    Same here. Three websites affected.

    Am going to have to try and install an older version.

    For me, it was a plug-in conflict.

    Upon deactivating BackWPup (WordPress Backup Plugin) by Inpsyde GmbH, the calendars displayed fine. And, handily, upon reactivating BackWPup, they still display fine.

    So, I just needed to deactivate and reactivate BackWPup to solve the issue.

    Here the same. Got the error Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ and broken my website. Conflict with mollie-payments-for-woocommerce.

    Hi, I’m using also the plugin and it is giving error:
    [02-Oct-2020 11:12:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php:61
    #0 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler()
    #1 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create()
    #2 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(1169): GuzzleHttp\Client->__construct(Array)
    #3 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(1124): Google_Client->createDefaultHttpClient()
    #4 /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(393): Google_Client->getHttpClient()
    #5 /opt/bitn in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php on line 61

    I have unactivated all plugins in order to detect the problem: your new version conflicts with BackWPup VersiΓ³n 3.8.0

    Of course, I need both plugins one for the periodic backup (critical in the site) and yours for the calendars.

    I offer you any help from myself to solve this. I’m, sure it is related to the version of guzzlehttp that BackWPup is using, that is older than your current version inside
    google-calendar-events [you said on your readme.txt inside changelog that version 3.1.33 * Dev: Updated all vendor packages to latest versions. and BackWPup no]

    Until the problem is solved I have downgraded your plugin to 3.1.32 which solves temporarily my issue.
    Regards, Inaki Simon

    • This reply was modified 3 years, 6 months ago by ignaciojesus.

    I’m getting same issue!!!

    Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php:61 Stack trace: #0 /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler() #1 /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create() #2 /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(1169): GuzzleHttp\Client->__construct(Array) #3 /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/google-calendar-events/vendor/google/apiclient/src/Google/Client.php(1124): Google_Client->createDefaultHttpClient() #4 /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/goog in /home/364123.cloudwaysapps.com/rkxbcudcpp/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/functions.php on line 61
    There has been a critical error on your website.

    Learn more about debugging in WordPress.

    @ignaciojesus where did you get an older version? Can you post a link. I had to disable BackWPup completely. I tried @joshbiz method and it worked for a little bit, but the site broke again. Thanks.

    @mkornegay2 – I just checked my websites, prompted by your post and unfortunately, they are broken again, with blank displays too.

    I’ve just deactivated the BackWPup plug-in on both websites affected and the calendars are fine again, as a temporary measure. Hopefully there’ll be an update to fix the issues – there seem to be many different causes.

    You can get old versions of plug-ins by going to the Plug-in page on the WordPress.org repository and clicking Advanced View in the right sidebar. Then you’ll find Previous Versions available for download at the bottom of the page when it reloads. Handy!

    • This reply was modified 3 years, 6 months ago by Josh.biz.

    @mkornegay2 and everyone who needs to download a previous version.

    In the main WordPress plugin page:
    https://wordpress.org/plugins/google-calendar-events/#description
    On the right side, where “version, last update …. and Tags for the plugin” are located.
    Under the Tags you will see a link labeled “Advanced view” press it or follow this:
    https://wordpress.org/plugins/google-calendar-events/advanced/

    Now on the new page go down under statistics graphs and you will find a drop down box or select box labeled Development Version. If you press the arrow button you will find among others: the development version, and several previous versions from 3.1.32 to 0.1 … select one that works for you.

    I could survive now with the 3.1.32

    Regards

    @ignaciojesus thanks for that. It was hidden at the bottom lol.

    korg007

    (@gillesgagnon)

    Good day!
    Thanks for this fantastic plugin. I’ve been using it for quite some time for a Firefighters website. Like many here, the last update broke this site as well.

    Like others, disabling BackWPuP allows the page to display again.

    How do we circumvent this problem without disabling our backup plugin?

    Hoping this can get fixed soon-ish πŸ™‚
    Cheers!

    Same here – broke the site
    PHP Fatal error: Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in /home/xxxxxx/public_html/wp-content/plugins/google-calendar-events/vendor/guzzlehttp/guzzle/src/Utils.php:121
    Stack trace:

    Same here, I had to deactivate the CiviCRM plugin, which also uses this GuzzleHttp package. So the solution is downgrade to 3.1.32, and hope for a quick bugfix update.

    I’m also using CiviCRM – so that is the conflict – did the same and downgraded to 3.1.32 and await a fix.

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘Update to 3.1.33 Broke My Site’ is closed to new replies.