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

More
2 years 10 months ago #62878 by nanbdj
Hi,
I use Joomla 4 and I get this error when using the accodeon menu.:
Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

What can I do about it?

It happens with the cassiopeia template and also with a template with the Helix framework (2 and 3)
I updated the site from Joomla 3 to Joomla 4. I removed the accordeon menu in j3, and installed the newest version in the J4 .

Thanks!

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

More
2 years 10 months ago #62889 by ced1870
Hi
I have tested again the pro and the light version on the latest joomla 4, I don't have the issue
Please tell me if you are using a specific source for your menu, or "menu" (joomla menu) as source

CEd

Joomlack Webmaster and Developer

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

More
2 years 10 months ago #62899 by nanbdj
Hi,
I use a Joomla menu as source, but not the main menu. I used a another menu. I noticed, that if I choose the main menu it did work. How strange..
A second thing I noticed, is that when I want to asign it just to the homepage ( only the page selected) the check boxes are disappeared. See the attachment.
Attachments:

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

More
2 years 10 months ago #62900 by ced1870
interesting ...
what could be specific in your other menu ? can you try to disable each menu item one by one in this menu ? may be related to a menu item type, or a specific setting
for the checkboxes I have noted that, I will check

Joomlack Webmaster and Developer

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

More
2 years 10 months ago - 2 years 10 months ago #62904 by nanbdj
Good tip.
I dicovered that the menu items to a menu item alias gave the problems.
Last edit: 2 years 10 months ago by nanbdj.

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

More
2 years 10 months ago #62905 by ced1870
thanks, I will check that !

Joomlack Webmaster and Developer
The following user(s) said Thank You: nanbdj

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

Time to create page: 0.220 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 769 guests and 2 members online