[v1.1.3] Cannot not view the Mega menu Grid in the backend

Created by Rosa Truong, Modified on Mon, 21 Mar, 2022 at 5:18 PM by Rosa Truong

Issue: 


Bss Megamenu stopped working on M2.4.2.

ERROR:

Type Error occurred when creating object: Bss\MegaMenu\Model\ResourceModel\MenuStores\Collection\Interceptor, Argument 5 passed to Bss\MegaMenu\Model\ResourceModel\MenuStores\Collection\Interceptor::__construct() must implement interface Magento\Framework\DB\Adapter\AdapterInterface or be null, string given, called in /magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 121

Exception in /magento/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:131


Solution:


This issue happens due to the module's bug with current version 1.1.3.

To solve it, please modify this file app/code/Bss/MegaMenu/etc/di.xml 

Please apply the attachment àn flush the cache on the site.


If you have any issues, please feel free to contact us.

We'd like to help.


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