No Code Attached Yet bug
avatar Attila-SWE
Attila-SWE
27 Apr 2023

Steps to reproduce the issue

  1. Activate error reporting
  2. Go to registration/edit_details/ without having a menu object (for example through a custom module or direct url)

Expected result

No warning

Actual result

Warning: Attempt to read property "query" on null in /components/com_users/src/View/Profile/HtmlView.php on line 142

System information (as much as possible)

Joomla 4.3 and php 8.1

Additional comments

Probable solution is to only execute line 142 if query is not null.

avatar Attila-SWE Attila-SWE - open - 27 Apr 2023
avatar joomla-cms-bot joomla-cms-bot - change - 27 Apr 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Apr 2023
avatar Nitz2611
Nitz2611 - comment - 1 May 2023

Hey if it has not been done , can you assign me for this?

avatar richard67 richard67 - change - 1 May 2023
Labels Added: bug
avatar richard67 richard67 - labeled - 1 May 2023
avatar chmst
chmst - comment - 1 May 2023

@Nitz2611 thank you - no assignment needed. We will be happy to receive your PR!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40499.

avatar brianteeman
brianteeman - comment - 24 Mar 2024

@Hackwar guessing this is another menu item routing issue

avatar Hackwar Hackwar - change - 24 Mar 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-03-24 20:04:02
Closed_By Hackwar
avatar Hackwar Hackwar - close - 24 Mar 2024
avatar Hackwar
Hackwar - comment - 24 Mar 2024

Not exactly a menu item routing issue, but I created a PR: #43140 Since we have a PR, I'm closing this one.

Add a Comment

Login with GitHub to post a comment