Hey Michel, I faced a similar issue with $params being inaccessible when working with custom modules on Joomla 4. It usually happens due to direct access to protected properties. One quick fix that worked for me was to check if the MenuItem object offers a getter method like getParams()—sometimes accessing the property indirectly avoids the error. Also, make sure your overrides or extensions aren't using legacy code that doesn't align with Joomla 4's object structure.
On a side note, if you’re into mobile gaming, I’ve been spending time playing this insane first-person bike game—Traffic Rider. Super immersive and a great break from debugging. Worth checking out!
Hey Michel, I faced a similar issue with $params being inaccessible when working with custom modules on Joomla 4. It usually happens due to direct access to protected properties. One quick fix that worked for me was to check if the MenuItem object offers a getter method like getParams()—sometimes accessing the property indirectly avoids the error. Also, make sure your overrides or extensions aren't using legacy code that doesn't align with Joomla 4's object structure.
On a side note, if you’re into mobile gaming, I’ve been spending time playing this insane first-person bike game—[Traffic Rider][1]. Super immersive and a great break from debugging. Worth checking out!
[1]: http://trafficriderr.net