php update 7.3/7.4

Tagged:
  • 123bladmuziek
    Participant
    5 months, 2 weeks ago #30643

    WPSolr went wrong when updating from php7.3 to 7.4. As a result, the website http://www.hafabramuzieksop.nl has been shut down

    Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Psr7\Utils::tryGetContents()
    in /srv/users/hafabramuziekshop/apps/hafabramuziekshop/public/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/psr7/src/Stream.php on line 103
    Oproepstack:

    GuzzleHttp\P\Stream::getContents()
    wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/psr7/src/Stream.php:83
    GuzzleHttp\P\Stream::__toString()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:282
    GuzzleHttp\H\CurlFactory::applyBody()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:252
    GuzzleHttp\H\CurlFactory::applyMethod()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php:58
    GuzzleHttp\H\CurlFactory::create()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php:43
    GuzzleHttp\H\CurlHandler::__invoke()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:28
    GuzzleHttp\H\Proxy::GuzzleHttp\H\{closure}()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php:48
    GuzzleHttp\H\Proxy::GuzzleHttp\H\{closure}()
    wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php:64
    GuzzleHttp\PrepareBodyMiddleware::__invoke()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Middleware.php:31
    GuzzleHttp\Middleware::GuzzleHttp\{closure}()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/RedirectMiddleware.php:71
    GuzzleHttp\RedirectMiddleware::__invoke()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Middleware.php:61
    GuzzleHttp\Middleware::GuzzleHttp\{closure}()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/HandlerStack.php:75
    GuzzleHttp\HandlerStack::__invoke()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Client.php:331
    GuzzleHttp\Client::transfer()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Client.php:168
    GuzzleHttp\Client::requestAsync()
    wp-content/plugins/moosend-email-marketing/vendor/guzzlehttp/guzzle/src/Client.php:187
    GuzzleHttp\Client::request()
    wp-content/plugins/moosend-email-marketing/vendor/moosend/website-tracking/src/Tracker.php:79
    Moosend\Tracker::identify()
    wp-content/plugins/moosend-email-marketing/MooTracker.php:228
    MooTracker::initialLoad()
    wp-includes/class-wp-hook.php:307
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:331
    WP_Hook::do_action()
    wp-includes/plugin.php:522
    do_action_ref_array()
    wp-includes/class-wp.php:771
    WP::main()
    wp-includes/functions.php:1310
    wp()
    wp-blog-header.php:16
    require()
    index.php:17

    wpsolr
    Keymaster
    5 months, 2 weeks ago #30644

    It looks like https://www.wpsolr.com/forums/topic/amazon-polly-conflict/, a conflict between WPSOLR and Moosend plugins, due to incompatible Guzzle library versions.

    wpsolr
    Keymaster
    5 months, 2 weeks ago #30645

    I forgot to mention that WPSOLR is tested on PHP 7.4

    wpsolr
    Keymaster
    5 months, 2 weeks ago #30646

    If you upgraded to WPSOLR 22.3, you can downgrade to WPSOLR 22.2 (or previous versions), until you can identify and fix the issue.

    123bladmuziek
    Participant
    5 months, 2 weeks ago #30647

    that succeeded. Only I miss now the filters, are not visible

    wpsolr
    Keymaster
    5 months, 2 weeks ago #30651

    Check for errors in your debug.log file.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.