Indexing is not working for Orders in WordPress Back-end
- benParticipant2 years, 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
wpsolrKeymaster2 years, 9 months ago #30203It 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
benParticipant2 years, 9 months ago #30278hi, 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.wpsolrKeymaster2 years, 9 months ago #30279Guzzle 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 executecomposer 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)
You must be logged in to reply to this topic.