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

armando.gobbi2
11 Posts
armando.gobbi2 posted this 22 November 2022

Hi, when i put an image in a menu's voice i get this error.
0 - Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

If i deactivate that menu's voice the website starts working again.

The problem is with php 8 and with php 7.4
Joomla 4.2.5
Themler v 559

Hi, when i put an image in a menu's voice i get this error. 0 - Cannot access protected property Joomla\CMS\Menu\MenuItem::$params If i deactivate that menu's voice the website starts working again. The problem is with php 8 and with php 7.4 Joomla 4.2.5 Themler v 559
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Werbeagentur Schulz-Design
168 Posts
Werbeagentur Schulz-Design posted this 28 June 2023

The J4 beta for Themler is already quite good. Unfortunately, the following error still exists with the menus if you want to insert a submenu item, a menu alias, or a separator:

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

Wouldn't it be possible to fix at least this error?

That would be great.
Thank you so much for your help.

Thankful
Thorsten
Werbeagentur Schulz-Design e. K.

The J4 beta for Themler is already quite good. Unfortunately, the following error still exists with the menus if you want to insert a submenu item, a menu alias, or a separator: 0 - Cannot access protected property Joomla\CMS\Menu\MenuItem::$params Wouldn't it be possible to fix at least this error? That would be great. Thank you so much for your help. Thankful Thorsten [Werbeagentur Schulz-Design e. K.][1] [1]: https://www.schulzdesign.info
appliancerepaircalg01
30 Posts
appliancerepaircalg01 posted this 04 August 2023

Thank you for sharing this blog. Keep posting. Pool Rescreening Kissimmee, FL

Thank you for sharing this blog. Keep posting. [Pool Rescreening Kissimmee, FL][1] [1]: https://www.kissimmeescreening.com/
trieudinhqt1057
1 Posts
trieudinhqt1057 posted this 04 August 2023

check for any direct access to the "params" property in your code and replace it with the appropriate getter method provided by Joomla. Additionally, ensure that your extensions, including the menu module, are updated to versions compatible with PHP 8 and PHP 7.4. If the problem persists, consult Joomla's support or the Themler development team for assistance. You can go on official site.

check for any direct access to the "params" property in your code and replace it with the appropriate getter method provided by Joomla. Additionally, ensure that your extensions, including the menu module, are updated to versions compatible with PHP 8 and PHP 7.4. If the problem persists, consult Joomla's support or the Themler development team for assistance. You can go on [official site][1]. [1]: https://www.livetheorangelife.net/

Last edited 07 August 2023 by trieudinhqt1057

You must log in or register to leave comments