We are trying to upgrade our website to Joomla 4 running on PHP 8. We have Jux CSS3 Mega Menu on our old version, but it is not compatible with Joomla 4.
We bought and downloaded the newest version of Jux CSS3 Mega Menu (pkg_jux_css3_megamenu_1.1.3.Joomla4.zip) which should install the Joomla 4 version. Installation works fine, but when we publish a Jux CSS3 Mega Menu module, we instantly get the following Error:
Looking at the PHP sourcecode, it seems that the $params-Variable is never initialized. Handling of menu params changed from Joomla3 to Joomla4 (it's now protected), so we also cannot go back to an older version.
We also tried completely removing and reinstalling to no avail.
Can you make a fixed version available and/or help us?
Thanks in advance
convivo
Edit: After submitting this, we found that a new version (1.1.4) was available. We also tested that, still the same error!
Hello.
Thank you for contacting us.
Yes, we have released a new version of 1.1.4 to fix the Joomla 4 issue.
Please give us your site URL, and admin account. We will help you check it soon.
Thanks.
we uninstalled and reinstalled the 1.14 Joomla4-version of Jux CSS3 Mega menu to no avail.
Once we include a module to display a menu on the frontend, we get the following error:
We are developing the website on a local machine via XAMPP, the current system is running on Joomla 3, which we will only upgrade once all addons are running. Given above stacktrace, the place of the error is obviously in \modules\mod_jux_megamenucss3\mod_jux_megamenucss3.php, where the $params variable is called but never defined. I hope this helps fixing the issue soon.
turns out the error was pointing to the mod_jux_megamenucss3.php file, but was actually caused within the JModuleHelper::getLayoutPath function that tried to load a template override from our site which had an $item->params call that can no longer be used in Joomla4.
We fixed that and the error is gone now.