php update 7.3/7.4

Tagged:
  • 123bladmuziek
    Participant
    9 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
    9 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
    9 months, 2 weeks ago #30645

    I forgot to mention that WPSOLR is tested on PHP 7.4

    wpsolr
    Keymaster
    9 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
    9 months, 2 weeks ago #30647

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

    wpsolr
    Keymaster
    9 months, 2 weeks ago #30651

    Check for errors in your debug.log file.

    123bladmuziek
    Participant
    3 weeks, 5 days ago #33224

    We have this problem now Patrice. how do I fix it
    07-May-2023 11:42:22 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:23 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194
    [07-May-2023 11:42:23 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:24 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194
    [07-May-2023 11:42:24 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:25 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194
    [07-May-2023 11:42:25 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:26 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194
    [07-May-2023 11:42:26 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:26 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194
    [07-May-2023 11:42:26 UTC] PHP Fatal error: Exception thrown without a stack frame in Unknown on line 0
    [07-May-2023 11:42:27 UTC] PHP Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /srv/users/bmtotaal/apps/bladmuziektotaal/public/shop/wp-content/plugins/wpsolr-pro/wpsolr/core/classes/engines/class-wpsolr-abstractsearchclient.php on line 194

    wpsolr
    Keymaster
    3 weeks, 4 days ago #33229

    What are the versions of PHP and WPSOLR ?

    123bladmuziek
    Participant
    3 weeks, 4 days ago #33230

    PHP 7.3 WPSOLR PRO Versie 22.2

    wpsolr
    Keymaster
    3 weeks, 4 days ago #33231

    PHP 7.4 is required. PHP 8.1 and WPSOLR 23.0 is advised.

    123bladmuziek
    Participant
    3 weeks, 4 days ago #33232

    we are using PHP 7.3 and the Pro Version 22.2, now when I activate we get the above error code. How can we fix this and what is going wrong.

    wpsolr
    Keymaster
    3 weeks, 4 days ago #33233

    PHP 7.4 is required. PHP 8.1 and WPSOLR 23.0 is advised.

    123bladmuziek
    Participant
    3 weeks, 4 days ago #33234

    So you don’t support php 7.3 anymore?

    wpsolr
    Keymaster
    3 weeks, 4 days ago #33240

    WPSOLR do not support PHP 7.3 for years. And as PHP 7.4 has reached its end of life, we advise PHP 8.1

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

You must be logged in to reply to this topic.