omnipay-sagepay icon indicating copy to clipboard operation
omnipay-sagepay copied to clipboard

Interface 'Guzzle\Parser\UriTemplate\UriTemplateInterface' not found

Open UdyW opened this issue 6 years ago • 1 comments
trafficstars

Im running a Laravel 5.5 application on php 7.1 and use omnipay/sagepay 2.6. Using Apache MAMP. MacOS Catalina.

Everything was working fine but suddenly I'm getting Interface 'Guzzle\Parser\UriTemplate\UriTemplateInterface' not found

I have not updated any packages.

The error originates from omnipay/sagepay/src/Message/AbstractRequest.php Line 337

Anyone have Idea?

UdyW avatar Nov 05 '19 14:11 UdyW

Guzzle\Parser\UriTemplate\UriTemplateInterface will take a URL template with replacement fields in it, an arrray of name/value data to put into the template, and will return a string of the full URL. This driver doesn't use URL templates, but sprintf() instead.

However, something is expecting it, and I'm not sure what. And Guzzle isn't finding the class, and that is just as much a mystery.

Did you solve this, or are you still looking for an answer?

judgej avatar Nov 23 '19 09:11 judgej