Hello everyone, I have updated my template (Arino) to version (2.0.2) on Joomla 5.4.4.
This resulted in the following error: Cannot access protected property (Joomla\CMS\Menu\MenuItem::$params).
To resolve this, I modified the (default_component.php) file by changing ($item->params) to ($item->getParams()), and the site is now working correctly.
My questions are:
-
Is this procedure technically correct for Joomla 5?
- Is this fix sufficient?
- Will this modification persist in future template updates?
I have attached a screenshot of the error for your reference. Thank you.
[https://prnt.sc/UqkhdU4e1g-5]