Help Center

Powered by Minitek FAQ Book
Loading...

Migrate to Joomla 4 - Error on menu link: Cannot access protected property Joomla\CMS\Menu\MenuItem::$params

MR
Mark RidsdalePosted 3 years agoEdited 3 years ago
Minitek Wall Pro - Professional Subscription

The url is https://www.wftest2.cymru/index.php/competitions/welsh-events-results

This is a menu item link to a wall widget.

The stack trace is

Call stack
# Function Location
1 () JROOT/components/com_minitekwall/tmpl/masonry/default.php:22
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:431
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:220
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/components/com_minitekwall/src/View/Masonry/HtmlView.php:724
5 Joomla\Component\MinitekWall\Site\View\Masonry\HtmlView->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
Loading...
0
#3299

7 answers

M
MinitekPosted 3 years agoModerator

Same answer as in the other ticket.

MR
Mark RidsdalePosted 3 years ago

I dont think it is fixed.  I'm still getting this error.

I have installed the J4 module, and had already installed the J4 component.

Is there anything else I have missed?

M
MinitekPosted 3 years agoModerator

It should be ok now. You may need to reconfigure some of the widgets parameters.

MR
Mark RidsdalePosted 3 years ago

Thanks, I can see it functions ok now.  Did you change any code, or just config?  I may need to re-create the site from my J3 version (because of other component issues), and I want to be able to correct any issues myself.  I really dont want to ask the same question again.

Thanks for sorting this, by the way.

M
MinitekPosted 3 years agoModerator

You're welcome.

No, I did not change any code. I only recreated some widgets where the parameters were not updated correctly for Joomla 4.

You should not have any issues for any new widgets.

If there is an old widget that creates problems, just delete it and create a new one.

MR
Mark RidsdalePosted 3 years ago

Excellent.  Thanks very much for a very prompt response.

M
MinitekPosted 3 years agoModerator

You're welcome.