Closed kkrieger85 closed 6 years ago
This is done during the event page_block_html_topmenu_gethtml_before
. Do you use Magento < 1.7?
I use Magento 1.9.3.7.
solved this issue by disabling block_html cache.
Then you can close this issue I think ;-)
I don't have a great answer here - but I just want to say I don't recommend disabling block_cache completely.
I would recommend you check TheExtensionLab_MegaMenu_Model_Observer::pageBlockHtmlTopmenuGetHtmlBefore is being called correctly as a first step by adding Mage::log to that method.
Can also try with the default theme and then you can at-least identify if the issue is in your theme or not.
It sounds like the main Menu is being cached and therefore there is no need to register no longer exists. But another block on the page that is not cached it trying to grab it or atleast render it's children. Prehaps a second menu renderer?
I get this error on category page:
Fatal error: Call to a member function getAllChildNodes() on null in app/code/community/TheExtensionLab/MegaMenu/Block/Widget/Category/List.php on line 26
The method:
I grep through whole project folder to find something like
register('current_menu
but I can't find anything.By now I am not sure if its a bug or a feature I don't understand.
I use latest release 1.5.7