RTC bug PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
19 Dec 2025

Summary of Changes

Accessing com_tags via direct link triggers warning:

( ! ) Warning: Undefined array key "view" in /components/com_tags/src/Service/Router.php on line 255

Both Joomla 5 and 6 are affected.

Testing Instructions

Set error reporting to max.

Load tags via direct link, i.e. https://site.com/component/tags

Actual result BEFORE applying this Pull Request

See warning.

Expected result AFTER applying this Pull Request

No warning.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Denitz Denitz - open - 19 Dec 2025
avatar Denitz Denitz - change - 19 Dec 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 19 Dec 2025
Category com_tags Front End
avatar richard67 richard67 - change - 19 Dec 2025
Title
Warning in Tags link without Itemid
[5.4] Warning in Tags link without Itemid
avatar richard67 richard67 - edited - 19 Dec 2025
avatar alikon alikon - test_item - 20 Dec 2025 - Tested successfully
avatar alikon
alikon - comment - 20 Dec 2025

I have tested this item ✅ successfully on 9c7c5d4


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

avatar exlemor exlemor - test_item - 20 Dec 2025 - Tested successfully
avatar exlemor
exlemor - comment - 20 Dec 2025

I have tested this item ✅ successfully on 9c7c5d4

I have tested this successfully!

I had 2 warnings - 1 of type warning and 1 of type deprecated:

Warning
: Undefined array key "view" in
/home/lights/public_html/_j540/components/com_tags/src/Service/Router.php
on line
255

Deprecated
: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in
/home/lights/public_html/_j540/components/com_tags/src/Service/Router.php
on line
270

and thanks to your PR @Denitz both are gone ;)!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46588.
avatar richard67 richard67 - change - 20 Dec 2025
Status Pending Ready to Commit
Labels Added: bug PR-5.4-dev
avatar richard67
richard67 - comment - 20 Dec 2025

RTC


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

avatar muhme muhme - change - 7 Jan 2026
Labels Added: RTC
avatar muhme
muhme - comment - 7 Jan 2026

✅ Final test before merge with JBT http://localhost:7054/index.php/component/tags

  • Before PR seen Warning: Undefined array key "view" and Deprecated: strpos(): Passing null to parameter
  • Applied patch with PR's full package installation
  • Warning and deprecation are gone, working for 0, 1 and multiple tags
avatar muhme muhme - change - 7 Jan 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-01-07 15:37:21
Closed_By muhme
avatar muhme muhme - close - 7 Jan 2026
avatar muhme muhme - merge - 7 Jan 2026
avatar muhme
muhme - comment - 7 Jan 2026

Thank you @Denitz for your contribution. Thank you @alikon and @exlemor for testing.

Add a Comment

Login with GitHub to post a comment