Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

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

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 21 Dec 2021 12:58 #62878

  • nanbdj
  • nanbdj's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 21 Dec 2021 16:55 #62889

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 27191
  • Karma: 427
  • Thank you received: 3516
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.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 22 Dec 2021 10:42 #62899

  • nanbdj
  • nanbdj's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
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.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 22 Dec 2021 11:24 #62900

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 27191
  • Karma: 427
  • Thank you received: 3516
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.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 22 Dec 2021 13:34 #62904

  • nanbdj
  • nanbdj's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Good tip.
I dicovered that the menu items to a menu item alias gave the problems.

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

Last edit: by nanbdj.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 22 Dec 2021 13:37 #62905

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 27191
  • Karma: 427
  • Thank you received: 3516
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.

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 25 Dec 2021 09:27 #62945

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 27191
  • Karma: 427
  • Thank you received: 3516
Hi
please replace this file
www.dropbox.com/s/zhg7xv276ri4x9a/menu.php?dl=0

in
components\com_accordeonmenuck\helpers\source

let me know if the problem is fixed
CEd
Joomlack Webmaster and Developer

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

Cannot access protected property Joomla\CMS\Menu\MenuItem::$params 28 Dec 2021 10:08 #62965

  • nanbdj
  • nanbdj's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Thank you, it is fixed!
PS the checkboxes-problem is still there

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

  • Page:
  • 1
Time to create page: 0.234 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 717 guests and one member online