v1.0.9: How to fix incompatible issue with M2.2.x-M2.3.2?

Created by Jane D, Modified on Tue, 17 Nov 2020 at 11:03 AM by Jane D

QUESTION: 


I installed the module M2 Quick View on my site Magento M2.2.5 and got the error below on compile:

[RuntimeException]                                                                                                                                    
  Class Magento\Catalog\ViewModel\Product\Checker\AddToCompareAvailability does not exist in [Bss\Quickview\Controller\Catalog\Product\Add\Interceptor]


Can you provide me the solution to fix this?


ANSWER:   


The error happens since module M2 Quick View v1.0.9 is not compatible with M2.2.x - M2.3.2.


To fix this error, please edit the file app/code/Bss/Quickview/Controller/Catalog/Product/Add.php

as below:


Or download the attached file below and overwrite the current file on your site.


If you have any other question or concern, please feel free to contact us. We'd be happy to support!

Attachments (1)

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 atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article