By cbais on Sunday, 07 November 2021
Posted in Technical Issues
Replies 7
Likes 0
Views 653
Votes 0
When I insert an own menu in the easySocial Dropdown Menu and set 'Render Menu Items' to Yes, the site stops working. In the frontend I receive the errormessage:

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

When I deselect the render menu items site works again ;-)

When I google that error it appears to have something to do with not being compatible with joomla 4.0

Used versions:
easysocial 4.0.7
joomla 4.0.4
Hi Cbais,

Sorry about that. Can you try to use this file patch instead and see how it goes? There seems to be a conflict with the module params variable and menu item params.
·
Monday, 15 November 2021 10:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

It seems like there is a compatibility issue with Joomla 4 and the dropdown menu. Can you try to download the file in this reply and replace it in the following file path on your site server and see how it goes? I have already logged this down into our issue tracker so we can publish this fix in the next release of EasySocial.

modules/mod_easysocial_dropdown_menu/helper.php
·
Monday, 08 November 2021 12:00
·
0 Likes
·
0 Votes
·
0 Comments
·
I tested it, and the problem did not occur anymore. Thanks!
·
Monday, 08 November 2021 17:03
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating cbais, glad that the issue is resolved for you now.
·
Monday, 08 November 2021 20:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry to reopen this ticket, but I think a found another issue with the mod_easysocial_dropdown_menu.

No matter what I select in the backend with the "Show My Profile" and "Show Account Settings" options, they are always visible on the frontend...

See screenshot for the two options I talk about.

I use the helper file as mentioned here above...

p.s. just found out, that this appears only to be the case when You have selected rendering an own menu as well
·
Monday, 15 November 2021 05:42
·
0 Likes
·
0 Votes
·
0 Comments
·
That did the trick! Thanks!
·
Tuesday, 16 November 2021 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating, glad that the issue is resolved for you now.
·
Tuesday, 16 November 2021 22:26
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post