Indexing is not working for Orders in WordPress Back-end

  • wpsolr
    Keymaster
    1 year, 9 months ago #30201

    What errors do you see in logs?

    ben
    Participant
    1 year, 9 months ago #30202

    PHP Fatal error: Uncaught Error: Undefined class constant ‘MAJOR_VERSION’ in /var/www/html/mysite.com/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/guzzle/src/Utils.php:113\nStack trace:\n#0 /var/www/html/mysite.com/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/guzzle/src/functions.php(71): GuzzleHttp\\Utils::defaultUserAgent()\n#1 /var/www/html/mysite.com/wp-content/plugins/gmail-smtp/google-api-php-client/vendor/guzzlehttp/guzzle/src/Client.php(194): GuzzleHttp\\default_user_agent()\n#2 /var/www/html/mysite.com/wp-content/plugins/gmail-smtp/google-api-php-client/vendor/guzzlehttp/guzzle/src/Client.php(75): GuzzleHttp\\Client->configureDefaults()\n#3 /var/www/html/mysite.com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(1058): GuzzleHttp\\Client->__construct()\n#4 /var/www/html/mysite.com/wp-content/plugins/gmail-smtp/google-api-php-client/src/Google/Client.php(1032): Google_Client->createDefaultHttpClient()\n in /var/www/html/mysite.com/wp-content/plugins/wpsolr-pro/wpsolr/core/vendor/guzzlehttp/guzzle/src/Utils.php on line 113

    there is also a [autoindex:error].

    I am not sure about this error, log showing this

    wpsolr
    Keymaster
    1 year, 9 months ago #30203

    It seems your site launches another Guzzle version (perhaps 6), than the one loaded by WPSOLR (the latest 7): https://github.com/guzzle/guzzle/issues/2744

    ben
    Participant
    1 year, 9 months ago #30278

    hi, guys can you please provide me the wpsolr plugin with guzzle version 6x. I have tried a lot but the issue has not been resolved. I have updated all plugins including Gmail-SMTP but the error is still there. So I guess it will work only when I install an older version of wpsolr.
    Please provide me suitable version so I can proceed. Thank You.

    wpsolr
    Keymaster
    1 year, 9 months ago #30279

    Guzzle is installed automatically through recursive dependencies from in wpsolr-pro/wpsolr/core/composer.json
    You can try to tweak composer.json to limit the Guzzle version to 6.x, and execute composer install again.

    Just be aware that WPSOLR will always install the latest version in the future, so you will have to fix the issue again and again until all your versions are compatible (7.x)

Viewing 5 posts - 46 through 50 (of 50 total)

You must be logged in to reply to this topic.