Topic-icon Error when using a Menu Item Alias in User Menu

I have run into a problem with using a Menu Item Alias menu item in the user menu.  If I do, the website no longer loads and I get this error:

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

If I unpublish the menu item in the user menu the error goes away and the website loads properly.  It looks to me like there is an issue here with possibly some deprcated code.

Anyone else able to replciate this issue?

I am running Joomla 4.0.6, SCLogin 9.0.195, PHP 8.0.15
The topic has been locked.
Support Specialist
2 years 2 months ago #67810 by alzander
We haven't heard of that issue but will definitely run through some tests to see if we can replicate the issue. This site uses aliases within the user menu, but it's on Joomla 3.x. It may very well be an issue with Joomla 4 that we've overlooked.

Thanks for letting us know and we'll get back to you on what we find.

Alex
The topic has been locked.
2 years 2 months ago #67812 by vanboke
Check this page: issues.joomla.org/tracker/joomla-cms/30463

I wonder if this is the same issue. From what is said it looks like it would work on Joomla 3, but not Joomla 4.
The topic has been locked.
Support Specialist
2 years 2 months ago #67833 by mel
Sorry for the late reply with this.

Yes, I was aware of the changes related to the menu items to use getParams instead of params for Joomla 4. But it looks like I missed one call (only affecting aliases). The others were replaced properly. Working on making a build out for SCLogin for this. Should be out shortly and you can grab it here

-Melissa
The topic has been locked.