RTC PHP 8.x bug PR-6.0-dev Pending

User tests: Successful: Unsuccessful:

avatar HLeithner
HLeithner
20 Jan 2026

The new code for system language filter plugin uses null as default $lang value, this leads to a deprecation warning later in the code for PHP 8.5.

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /plugins/system/languagefilter/src/Extension/LanguageFilter.php on line 376

Summary of Changes

Set the default value to an empty string.

Testing Instructions

Activate full deprecation logging on php 8.5, and try to login with passkeys

Actual result BEFORE applying this Pull Request

Deprecated: Using null as an array offset is deprecated, use an empty string instead in /plugins/system/languagefilter/src/Extension/LanguageFilter.php on line 376

Login Error message that the user has no passkey configuration

Expected result AFTER applying this Pull Request

No Deprecation message and Passkey login Prompt

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 HLeithner HLeithner - open - 20 Jan 2026
avatar HLeithner HLeithner - change - 20 Jan 2026
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 20 Jan 2026
Category Front End Plugins
avatar Fedik Fedik - test_item - 21 Jan 2026 - Tested successfully
avatar Fedik
Fedik - comment - 21 Jan 2026

I have tested this item ✅ successfully on 3bc899f

review


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

avatar heelc29
heelc29 - comment - 21 Jan 2026

Get a second warning: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in \plugins\system\languagefilter\src\Extension\LanguageFilter.php on line 912

But this is already present in J5.4

avatar heelc29 heelc29 - test_item - 21 Jan 2026 - Tested successfully
avatar heelc29
heelc29 - comment - 21 Jan 2026

I have tested this item ✅ successfully on 3bc899f


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

avatar HLeithner
HLeithner - comment - 21 Jan 2026

Get a second warning: Using null as the key parameter for array_key_exists() is deprecated, use an empty string instead in \plugins\system\languagefilter\src\Extension\LanguageFilter.php on line 912

But this is already present in J5.4

I expect this is the same code in 5.4 and 6.0 so should be fixed in 5.4 and upmerged.

avatar heelc29
heelc29 - comment - 21 Jan 2026

I expect this is the same code in 5.4 and 6.0 so should be fixed in 5.4 and upmerged.

Yes, see #46736

avatar Fedik Fedik - change - 21 Jan 2026
Status Pending Ready to Commit
avatar Fedik
Fedik - comment - 21 Jan 2026

r2c


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

avatar Bodge-IT Bodge-IT - change - 25 Jan 2026
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2026-01-25 10:54:29
Closed_By Bodge-IT
Labels Added: RTC PHP 8.x bug PR-6.0-dev
avatar Bodge-IT Bodge-IT - close - 25 Jan 2026
avatar Bodge-IT Bodge-IT - merge - 25 Jan 2026
avatar Bodge-IT
Bodge-IT - comment - 25 Jan 2026

Thank you for the fix @HLeithner and thanks @heelc29 & @Fedik for prompt tests

Add a Comment

Login with GitHub to post a comment