opensearchserver-php-client icon indicating copy to clipboard operation
opensearchserver-php-client copied to clipboard

Fatal error on composer update

Open jonathanmaron opened this issue 6 years ago • 2 comments

On composer update, the dependency kriswallsmith/buzz is updated to 0.17.1. This causes the following fatal error, rending site search entirely broken:

PHP Fatal error:  Uncaught Error: Call to undefined method Buzz\Client\Curl::setVerifyPeer() in /[..]/vendor/opensearchserver/opensearchserver/src/OpenSearchServer/Handler.php:41

A quick fix is to fork and force version 0.16.0, however setVerifyPeer() needs to be factored out of the component.

jonathanmaron avatar Apr 17 '18 09:04 jonathanmaron

I'm not very Composer literate. How can I limit kriswallsmith/buzz to 0.16.0?

Also, Any status on this getting fixed?

GenesisCraig avatar May 03 '18 19:05 GenesisCraig

@emmanuel-keller 's commit seems to have solved this.

GenesisCraig avatar Jul 19 '18 16:07 GenesisCraig