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.
If you need further our information, here is:
BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.
We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.
Visit us to get more useful plugins: https://bsscommerce.com/magento-2-extensions.html
Here to discover our extensions:
- BSS Commerce’s Magento 2 B2B Extension helps you close more wholesale deals with efficient ordering and customized pricing.
- BSS Commerce’s Magento 2 SEO Extension attracts more customers and increases conversions with optimized search performance.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article