• Resolved m0n0mind

    (@m0n0mind)


    After updating to the most recent version of eroom, the webinars sync features breaks due to errors related to some libraries used:

    PHP Fatal error:  Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() in /path/to/site/wp-content/plugins/eroom-zoom-meetings-webinar/zoom-app/vendor/guzzlehttp/guzzle/src/functions.php:61
    Stack trace:
    #0 /path/to/site/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/HandlerStack.php(42): GuzzleHttp\choose_handler()
    #1 /path/to/site/wp-content/plugins/backwpup/vendor/guzzlehttp/guzzle/src/Client.php(65): GuzzleHttp\HandlerStack::create()
    #2 /path/to/site/wp-content/plugins/eroom-zoom-meetings-webinar/zoom-app/Interfaces/Request.php(37): GuzzleHttp\Client->__construct()
    #3 /path/to/site/wp-content/plugins/eroom-zoom-meetings-webinar/zoom-app/Endpoint/Webinars.php(24): Zoom\Interfaces\Request->__construct()
    #4 /path/to/site/wp-content/plugins/eroom-zoom-meetings-webinar/zoom-conference/StmZoomPostTypes.php(764): Zoom\Endpoint\Webinars->__construct()
    #5 in /path/to/site/wp-content/plugins/eroom-zoom-meetings-webinar/zoom-app/vendor/guzzlehttp/guzzle/src/functions.php on line 61

    Seems like it’s conflicting with the same libs used by backwpup (https://www.ads-software.com/plugins/backwpup/)

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hello,

    Would you be so kind as to ensure that your server settings align with the plugin’s specified requirements for server limits? Additionally, please confirm that Guzzle version 6.3.3 is in use. Your cooperation in this matter is greatly appreciated > Requirements

    Best regards

    Thread Starter m0n0mind

    (@m0n0mind)

    Hey,

    alright, here’s the info about used versions and stuff:

    • using WP 6.2.2 with PHP 7.4.33
    • WP Memory Limit set to 256M (with max. memory limit set to 512M)
    • Maria DB 10.0
    • allow_url_fopen is set to on
    • using curl 7.64.0 (x86_64-pc-linux-gnu) libcurl/7.64.0 OpenSSL/1.1.1n zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
    • Guzzle HTTP lib version from the other plugin (most recent version of backwpup): 6.5.5
    • Guzzle HTTP lib version from eroom 1.4.11: 6.5.8
    • Guzzle HTTP lib version from eroom 1.4.12: 7.7.0

    So your most recent plugin version brought about a major version change with the bundled library.

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Thank you for the shared details @m0n0mind

    Please ensure that the PHP version running on the server is compatible with the version of GuzzleHttp being used by your plugin. GuzzleHttp might have specific version requirements.

    Kindly ensure that your server has the necessary PHP extensions and configuration settings to support the GuzzleHttp library. You may need to consult your hosting provider or server administrator for this.

    Sometimes, conflicts between plugins can lead to unexpected errors. Disable other plugins one by one to see if the issue persists with just your plugin activated. If it doesn’t, you can isolate the conflicting plugin and contact its developer for support.

    Furthermore, enable PHP error logging to get more detailed information about the error. You can often find PHP error logs in your server’s error log files or by checking the PHP error log settings in your server configuration.

    All the best

    Thread Starter m0n0mind

    (@m0n0mind)

    Hey,

    so I checked the requirements again and they are all met.

    It obviously seems to be a version collision of this bundled library coming with eroom and backwpup.

    May I kindly ask to take appropiate steps in order to prevent such conflicts from happining, ie. via namespacing those libs.

    https://stackoverflow.com/questions/50144816/3rd-party-dependency-conflict-in-developing-wordpress-plugin

    I’ll inform the plugin developers of backwpup as well. But this is IMHO an effort that all plugin developers need to take when bundling such widely used libraries.

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Hello,

    Our developers included the needed changes a while ago, please kindly make sure that you updated the Eroom plugin to the latest version.

    In addition, after it, try to re-check the case by deactivating the Backwpup plugin on your site

    Cheers

    Thread Starter m0n0mind

    (@m0n0mind)

    Our developers included the needed changes a while ago, please kindly make sure that you updated the Eroom plugin to the latest version.

    Sorry, but that’s clearly not the case! Using the most recent version (1.4.12) and the bundled lib under “zoom_app/vendor/” has the default namespace set, not a custom one.

    namespace GuzzleHttp;

    Of course, disabling one of both plugin will fix it but that’s not a solution…

    Plugin Support mgordonStylemixThemes

    (@mgordon7)

    Could you please clarify did you receive the error notification when the Backwpup plugin is not active?

    Regards

    Thread Starter m0n0mind

    (@m0n0mind)

    No, the error only comes up when backwpup is enabled.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin conflict: Error on syncing webinars’ is closed to new replies.