v1.2.2: How to fix Error: Call to undefined method Bss\AddMultipleProducts\Controller\Cart\Add\Interceptor::goBack() in /.../app/code/Bss/AddMultipleProducts/Controller/Cart/Add.php:158

Created by Jane D, Modified on Tue, 17 May, 2022 at 2:21 PM by Jane D

QUESTION:


We got the error below after installing  your module on our site:

Not sure what causes issue however there are few things in exception log.


[..] main.CRITICAL: Error: Call to undefined method Bss\AddMultipleProducts\Controller\Cart\Add\Interceptor::goBack() in /cache/app/code/Bss/AddMultipleProducts/Controller/Cart/Add.php:158

[...] main.CRITICAL: Exception message: We can't initialize Express Checkout.


Do you have a fix?


ANSWER:


For this error, please edit the file app/code/Bss/AddMultipleProducts/Controller/Cart/Add.php as below to solve the problem:



If you have any other questions or concerns, please feel free to contact us.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article