Post by motempnew » Wed Jul 08, 2020 4:26 pm

OC Version 3.0.2.0

PHP 7.1.33

- https://www.opencart.com/index.php?rout ... &sort=name

I'm getting the following error with the above plugin -

Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Client::request() in /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Core/ApiClient.php:76 Stack trace: #0 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Services/RedirectFlowsService.php(47): GoCardlessPro\Core\ApiClient->post('/redirect_flows', Array) #1 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/catalog/controller/extension/payment/gocardless.php(39): GoCardlessPro\Services\RedirectFlowsService->create(Array) #2 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/action.php(79): ControllerExtensionPaymentGocardless->send() #3 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/catalog/controller/startup/router.php(25): Action->execute(Object(Registry)) #4 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/action.php(79): ControllerStartupRouter->index() #5 /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/system/engine/router.php(67): Action->execute(Object(Registry)) in /var/www/vhosts/rolysfudge.co.uk/httpdocs/newdev/vendor/gocardless-pro-php/lib/Core/ApiClient.php on line 76

I have contacted the developers with this error but I get no reply, and opencart's contact form and email email address currently don't seem to work.

Newbie

Posts

Joined
Wed Jul 08, 2020 4:17 pm

Post by letxobnav » Wed Jul 08, 2020 7:36 pm

Well, seems that the method called does not exist in the referenced class.
To know why that is, lacking a crystal ball, I would have to buy that extension and I am not going to.
So the developers of that extension are your only hope I am afraid.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by pak77 » Tue Aug 18, 2020 2:03 am

Hi,

Did you ever get this resolved as I am having the same issue?

Newbie

Posts

Joined
Mon Apr 09, 2012 4:06 pm

Post by IP_CAM » Tue Aug 18, 2020 2:52 am

Funny, that the Seller even offers a direct sale with a Discount, and OpenCart
seem's to accept such, or they just never checked that Page in the first Place. ???
Such Screwballs should be blocked from offering their extensions trough OC.
I contacted OpenCart on this now ...

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by pak77 » Tue Aug 18, 2020 3:31 am

Yes must admit I found that strange myself!!

The thing is, I am not convinced the issue is with the module itself, but the included libraries of gocardless and guzzle.

I have tried to limit the calls to just retrieving a customer list as per their API documentation but the log still shows the issue is a call between the two!!!

Newbie

Posts

Joined
Mon Apr 09, 2012 4:06 pm

Post by pak77 » Tue Aug 18, 2020 5:43 am

Ok this might help someone else who is facing the same issue. Turns out the issue here is that Opencart itself comes with Guzzle installed. It is found within the storage/vendor folder. Either remove or rename the folder and the module works. I don't know what Opencart uses Guzzle for so may cause other issues depending on your setup!!!

Newbie

Posts

Joined
Mon Apr 09, 2012 4:06 pm
Who is online

Users browsing this forum: No registered users and 22 guests