Support » Plugin: BackWPup - WordPress Backup Plugin » Problems with Simple Calendar – Google Calendar Plugin version 3.1.33

  • Resolved ignaciojesus

    (@ignaciojesus)


    Hi, I’m using both plugins 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: the new version 3.1.33 conflicts with BackWPup Versión 3.8.0

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

    Until the problem is solved I have downgraded calendar plugin to 3.1.32 which solves temporarily my issue.

    I have discovered that the problem arises because the internal upgrade inside SImplyCalendar of some vendor plugins to last version, in particular “guzzlehttp” to last version available that conflicts with the version used by BackWpUp.

    Changelog [of simply calendar]
    3.1.33

    Fix: Trimmed overall size of the plugin to reduce errors from installation failing.
    Dev: Updated minimum PHP requirement to 7.3
    Dev: Updated all vendor packages to latest versions.
    Dev: Tested up to WordPress 5.5.1

    The issue with the conflict with backwpup comes from the usage of unscoped dependencies / vendor folders.
    It is needed to scope dependencies to prevent such issues when multiple plugins use the same classes but with different interfaces and implementations [versions].

    Really I do not know well if this issue must to be solved by you or by “Simple Calendar – Google Calendar” development team, but it must be solved for all us [customers] that need your both plugins.

    I also filled this problem with they, but I think you also need to know in order to help in the resolution of the problem.

    Thanks in advance for your time and patience and regards

    • This topic was modified 1 month, 2 weeks ago by ignaciojesus.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.