cancel
Showing results for 
Search instead for 
Did you mean: 

CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

Everything else seems to work great with the exception that my Templatemonster MegaMenu disappeared and i don't even know where to start looking for answers. I've searched and read all similar posts which i could find but to no avail. I contacted TemplateMonster but they are useless as always.

 

I checked in store configuration it is set to enabled. In Dashboard>Catalog>Categories there is a Menu for MegaMenu but when i click on it it opens the menu for split second then closes it and becomes unclickable with a cross cursor.

 

Any help would be appreciated!

7 REPLIES 7

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

@theonlytoshka 

 

There could be multiple thing is happening. It might not be compatible with Magento 2.3.1. Do you see some error in your Magento, server log, or browser console.

 

Looking into those error would be a good starting point.

 

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

You are definitely onto something. I don't know how i forgot to look into logs, slipped my mind. There is an error in there referencing Megamenu:

[2019-04-09 12:24:23] main.CRITICAL: Warning: Declaration of TemplateMonster\Megamenu\Block\Html\Topmenu::_getHtml(Magento\Framework\Data\Tree\Node $menuTree, $childrenWrapClass, $limit, $colBrakes = Array) should be compatible with Magento\Theme\Block\Html\Topmenu::_getHtml(Magento\Framework\Data\Tree\Node $menuTree, $childrenWrapClass, $limit, array $colBrakes = Array) in /domain.com/app/code/TemplateMonster/Megamenu/Block/Html/Topmenu.php on line 12 [] []

 

Anyone know what that means?

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

@theonlytoshka 

Below are few URL having similar issue as your. You may be having something similar. If you are a developer then you would be able to figure that out otherwise ask your developer to look into it.

 

https://magento.stackexchange.com/questions/257878/magento-2-overwrites-topmenu-php-in-module-but-me...

 

https://magento.stackexchange.com/questions/193384/magento-2-module-not-extending-topmenu-correctly

 

https://magento.stackexchange.com/questions/172326/magento2-1-override-the-navbar

 

https://github.com/magento/magento2/issues/12249

 

Problem solved? Please give 'Kudos' and accept 'Answer as Solution'.

- Tarandeep
Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

I have got the exactly the same thing, did you get it fixed?

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

I am having the same problem...I am using 2.3.3 but it seems like it's incompatible with alot of themes and plugins out there.

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

I had the same problem. Try to select  "Please select a static block" in Categories Content section. It worked for me.

Re: CE 2.2.7 to 2.3.1 TemplateMonster MegaMenu Does Not Show After Upgrade

You need to edit ...Block/Html/Topmenu.php. Find the functions, protected function _getHtml and public function renderMenu, look for the line $colBrakes = [] and change it to

array $colBrakes = [].

That will do it. Don't forget to clear cache and content-deploy if you have to.