How to fix incompatible issue between module with Magento 2.2.x?

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

QUESTION:


I m getting this error on site when we sign in using Facebook and Google when install on my site Magento M2.2.1

Fatal error: Interface 'Magento\Framework\App\CsrfAwareActionInterface' not found in /xxxx/xxx/public_html/app/code/Bss/SocialLogin/Controller/Account/LoginPost.php on line 30


Do you provide a fix?


ANSWER:


The error above due to the fact the on Magento 2.2.x, there is no class Magento\Framework\App\CsrfAwareActionInterface.


To resolve this issue, please download the attached file below and overwrite the current file on your site.

File changed: app/code/Bss/SocialLogin/Controller/Account/LoginPost.php 


If you have any other question or concern, please feel free to leave us a message via https://bsscommerce.com/contact

We'd be happy to support.

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