Hello tech support,
I have recently tried to upgrade my Uber mega menu to the latest 1.1.4 version on my M2 version 2.1.8 community version. This is the error message that I receive:
1 exception(s): Exception #0 (ReflectionException): Class Magento\Framework\Serialize\SerializerInterface does not exist Exception #0 (ReflectionException): Class Magento\Framework\Serialize\SerializerInterface does not exist #0 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Framewo...') #1 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...') #2 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Framewo...') #3 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #4 /www/sites/uat1.themagnetgroup.com/files/html/app/code/Ubertheme/UbMegaMenu/Block/Menu.php(234): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #5 /www/sites/uat1.themagnetgroup.com/files/html/app/code/Ubertheme/UbMegaMenu/Block/Menu.php(174): Ubertheme\UbMegaMenu\Block\Menu->getSerializer() #6 /www/sites/uat1.themagnetgroup.com/files/html/app/code/Ubertheme/UbMegaMenu/Block/Menu.php(139): Ubertheme\UbMegaMenu\Block\Menu->_generateMenuHtml('4') #7 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/View/Element/AbstractBlock.php(659): Ubertheme\UbMegaMenu\Block\Menu->_toHtml() #8 /www/sites/uat1.themagnetgroup.com/files/html/var/generation/Ubertheme/UbMegaMenu/Block/Menu/Interceptor.php(453): Magento\Framework\View\Element\AbstractBlock->toHtml() #9 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/View/Layout.php(542): Ubertheme\UbMegaMenu\Block\Menu\Interceptor->toHtml() #10 /www/sites/uat1.themagnetgroup.com/files/html/vendor/magento/framework/View/Layout.php(518): Magento\Framework\View\Layout->_renderBlock('main.ub.mega.me...') #11 /www/sites/uat1.themagnetgroup.com/files/html/var/generation/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.ub.mega.me...')
Was this version of mega menu still compatible with M2 ver 2.1.8? How can this be fixed?
7 answers
Hi there,
Our latest UB Mega Menu v1.1.4 has just been updated with tweak code for compatibility with Magento 2.2.7 and Magento 2.3.0. We wonder if you can upgrade your Magento instance to the latest ver 2.2.7 or 2.3.0?
If you still want to use our UB Mega Menu on your current M2.1.8 instance, please provide us the following credentials, we will check and apply a quick fix for you:
- URL and admin credentials of your M2 instance
- SSH Credentials of your M2 instance
- Let us know the path to your M2 folder
Regards,
Ubertheme team
Hi there,
Please try steps below for a quick fix:
+ Download the PHP file at: https://drive.google.com/open?id=1gfn7kN_WYn1XduOMwfzPja2gOn8ra3NA
+ Upload the file you’ve just downloaded and overwrite the PHP file at: app/code/Ubertheme/UbMegaMenu/Block/Menu.php
+ Once done, please run re-deploy.
Please let us know how it goes then.
Regards,
Ubertheme team
Thank you very much. I am giving this a try now.
Hi there,
Yes, please apply the workaround and let us know how it goes at your end.
Regards,
Ubertheme team
Worked perfectly. Thanks for all your help. Now I can use your assistance to fix my submenu alignment issues that I am having with the full-width menu options. I started a new private question for that one. Thank you.