JApplicationSite::getParams() tried to instantiate a new registry object from $menu->params, but that is already a registry object.
This PR removes that step and directly merges the component and menu params.
Testing Instructions
Set up a menu item for a component of your choice and set some parameters different from the global counterpart
Check that the menu parameter overrides the component ones.
I have tested this item✅ successfully on cf0df7e
Back to normal.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12557.