Hi Michel,
That error typically occurs due to a change in how Joomla handles access to protected class properties in newer versions. Even though you're using PHP 7.x, either the template or the hmenu module you're using is likely trying to directly access the protected $params property of the MenuItem object, which isn't allowed in newer Joomla versions like traffic rider apk.
Here are a couple of suggestions to fix this:
Use the getParams() method instead of directly accessing $params. If you're modifying template or module files, replace:
php
Copy
Edit
$item->params
with:
php
Copy
Edit
$item->getParams()
Update the hmenu module: If you're not editing code yourself, check if there's an updated version of the hmenu module that supports your current Joomla version. The developer may have fixed this in a later release.
Fallback workaround: If you're not able to change the code or get an update, and this module is essential, consider temporarily rolling back to an earlier version of Joomla where this access was allowed—though that’s not ideal for security reasons.
Let me know which hmenu version and Joomla version you're using, and I’ll try to give more specific help.
Best regards,
[markzukers]
Hi Michel,
That error typically occurs due to a change in how Joomla handles access to protected class properties in newer versions. Even though you're using PHP 7.x, either the template or the hmenu module you're using is likely trying to directly access the protected $params property of the MenuItem object, which isn't allowed in newer Joomla versions like [traffic rider apk][1].
Here are a couple of suggestions to fix this:
Use the getParams() method instead of directly accessing $params. If you're modifying template or module files, replace:
php
Copy
Edit
$item->params
with:
php
Copy
Edit
$item->getParams()
Update the hmenu module: If you're not editing code yourself, check if there's an updated version of the hmenu module that supports your current Joomla version. The developer may have fixed this in a later release.
Fallback workaround: If you're not able to change the code or get an update[,][1] and this module is essential, consider temporarily rolling back to an earlier version of Joomla where this access was allowed—though that’s not ideal for security reasons.
Let me know which hmenu version and Joomla version you're using, and I’ll try to give more specific help.
Best regards,
[markzukers]
[1]: https://tirafficridorgame.com/
Last edited 20 April 2025 by lurkerproplayerdipts90