v1.0.5: Fix error when edit FAQs Category

Created by Esther Nguyen, Modified on Thu, 11 Nov, 2021 at 6:03 PM by Esther Nguyen

ISSUE:

When edit FAQs Category in which FAQs are selected and assigned in the FAQs Assign section, we are getting the error: 

Warning: Invalid argument supplied for foreach() in /home/u42544p83711/domains/new.wildlifemonitoringsolutions.nl/public_html/app/code/Bss/Faqs/Model/Faqs.php on line 135


SOLUTION:

The reason is that the foreach code passing in $this->getStoreId() is a string, giving an unexpected error. 

To resolve the issue, please edit the file: app/code/Bss/Faqs/Model/Faqs.php: 


Or download the file attached below to override the current file on your site.


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article