Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

View/Form/HtmlView.php gets the page parameters with $params = &$this->state->params;, i.e. a reference to a property of the model state object. Since Joomla 5.0 the state is a Joomla\CMS\MVC\Model\State (a Registry), where direct property access goes through __get() and triggers "Direct property access will not be supported in 7.0"; taking a reference of it is pointless as well.

It now uses $this->state->get('params') like the other views of the component.

Testing Instructions

Open the frontend "Submit a Web Link" form and check that page heading, page class suffix and the other menu item parameters are applied.

Expected result

The form is displayed with the menu item parameters as before.

Actual result

Same, plus an E_USER_DEPRECATED "Direct property access will not be supported in 7.0".

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026
avatar Hackwar Hackwar - change - 27 Nov 2026
The description was changed
avatar Hackwar Hackwar - edited - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment