Support Offline: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

exclamation-circle JUX Mega Menu 3.3.6 not compatible with Joomla 4.3.1

More
1 year 4 weeks ago #41469 by Sue Sours
JUX Mega Menu 3.3.6 doesn't seem to be compatible with Joomla 4.3.1.

PHP version: 8.0

Error message:
0 - Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

Call stack:
# Function Location
1 () JROOT/modules/mod_jux_megamenu/helper.php:95
2 Mod_JUX_MegaMenu->loadMenu() JROOT/modules/mod_jux_megamenu/helper.php:41
3 Mod_JUX_MegaMenu->__construct() JROOT/modules/mod_jux_megamenu/mod_jux_megamenu.php:84
4 include() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:52
5 Joomla\CMS\Dispatcher\ModuleDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/ModuleDispatcher.php:55
6 Joomla\CMS\Dispatcher\ModuleDispatcher->dispatch() JROOT/libraries/src/Helper/ModuleHelper.php:281
7 Joomla\CMS\Helper\ModuleHelper::renderRawModule() JROOT/libraries/src/Helper/ModuleHelper.php:161
8 Joomla\CMS\Helper\ModuleHelper::renderModule() JROOT/libraries/src/Document/Renderer/Html/ModuleRenderer.php:99
9 Joomla\CMS\Document\Renderer\Html\ModuleRenderer->render() JROOT/libraries/src/Document/Renderer/Html/ModulesRenderer.php:50
10 Joomla\CMS\Document\Renderer\Html\ModulesRenderer->render() JROOT/libraries/src/Document/HtmlDocument.php:566
11 Joomla\CMS\Document\HtmlDocument->getBuffer() JROOT/libraries/src/Document/HtmlDocument.php:849
12 Joomla\CMS\Document\HtmlDocument->_renderTemplate() JROOT/libraries/src/Document/HtmlDocument.php:634
13 Joomla\CMS\Document\HtmlDocument->render() JROOT/libraries/src/Application/CMSApplication.php:1025
14 Joomla\CMS\Application\CMSApplication->render() JROOT/libraries/src/Application/SiteApplication.php:724
15 Joomla\CMS\Application\SiteApplication->render() JROOT/libraries/src/Application/CMSApplication.php:298
16 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
17 require_once() JROOT/index.php:32

Please Log in or Create an account to join the conversation.

More
1 year 4 weeks ago - 1 year 4 weeks ago #41470 by Sue Sours
FYI, it looks like you might need the following changes to make JUX Mega Menu compatible with Joomla 4.3.1. There might be others too, but these were the ones that we needed.

file: modules/mod_jux_megamenu/helper.php

-replace all "->params" with "->getParams()"

-replace "JSite::getRouter()" with "JFactory::getApplication()->getRouter()"

-replace "&JSite::getMenu()" with "JFactory::getApplication()->getMenu()"

-replace "$router->getMode() == JROUTER_MODE_SEF" with "JFactory::getApplication()->get('sef', 0) == 0"
Last edit: 1 year 4 weeks ago by Sue Sours.

Please Log in or Create an account to join the conversation.

More
1 year 4 weeks ago #41473 by Jackie
Hi.
Thank you for contacting us.
We have checked our site with Joomla 4.3.1 and PHP 8.0. It still works fine.
Please give us your site info, admin account. We will access your site to help you check the issue.
Thanks.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
1 year 4 weeks ago #41477 by Sue Sours
Never mind. I see the jux mega menu download has 2 packages inside. One for Joomla 3 and one for Joomla 4. We just needed to reinstall this extension after upgrading to Joomla 4 with the Joomla 4 package.

Please Log in or Create an account to join the conversation.

More
1 year 3 weeks ago #41480 by Jackie
Thank you for your feedback. Yes, we have 2 packages install for Joomla 3 and Joomla 4.
If you need help, please let us know again.
Thanks.

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

More
1 year 1 week ago #41498 by Quo
It is compatible. You have to unzip1st_jux_megamenu_3.3.6.zip and there is pkg_jux_megamenu.Joomla4.zip. Install it.

Please Log in or Create an account to join the conversation.

More
1 year 2 days ago #41508 by Jackie

Quo wrote: It is compatible. You have to unzip1st_jux_megamenu_3.3.6.zip and there is pkg_jux_megamenu.Joomla4.zip. Install it.


Thank you for your comment

Best regards.
Jackie Nguyen.

Please Log in or Create an account to join the conversation.

Moderators: Jackie
Time to create page: 0.050 seconds
Powered by Kunena Forum