bug PR-6.2-dev Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
30 Sep 2026

Pull Request resolves #43736 .

  • 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.

Summary of Changes

this is a bug fix but I made it for 6.2 as I think thats the correct branch at the time of writing - happt to rebase it if maintainers decide otherwise

Skip the Force SSL availability check when saving the global configuration from the CLI.

The Force SSL check makes an HTTPS request to the configured site to verify that HTTPS is available before enabling the option. This check is appropriate when saving the configuration through the administrator, but it is not really appropriate when the configuration is being changed through the CLI.

This PR just disables the check when in CLI. It's the minimum change required to get this to work

Testing Instructions

check that force_ssl is set to 0 in the global configuration.
from the cli run
php cli/joomla.php config:set force_ssl=2
check that force_ssl is now set to 2 in the global configuration

Actual result BEFORE applying this Pull Request

[Error] Call to undefined method Joomla\CMS\Application\ConsoleApplication::setUserState()

Expected result AFTER applying this Pull Request

[OK] Configuration set

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar brianteeman brianteeman - open - 30 Sep 2026
avatar brianteeman brianteeman - change - 30 Sep 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 30 Sep 2026
Category ⇒ Administration com_config
avatar muhme muhme - test_item - 2 Oct 2026 - Tested successfully
avatar muhme
muhme - comment - 2 Oct 2026

I have tested this item ✅ successfully on 69d8698

Tested with JBT

  • Seen before PR
    • Seen error 'Call to undefined method ...' for setting 1 or 2 (0 is working)
  • Applied PR with Patch Tester
    • Setting force_ssl 0, 1 or 2 is possible and it is stored in configuration.php file
    • Setting the three different values with Global Configuration > Server > Force HTTPS is still possible and saved in configuration.php
    • No unusual PHP or Joomla log messages

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48529.
avatar muhme
muhme - comment - 2 Oct 2026

I have tested this item ✅ successfully on 69d8698

Tested with JBT

  • Seen before PR
    • Seen error 'Call to undefined method ...' for setting 1 or 2 (0 is working)
  • Applied PR with Patch Tester
    • Setting force_ssl 0, 1 or 2 is possible and it is stored in configuration.php file
    • Setting the three different values with Global Configuration > Server > Force HTTPS is still possible and saved in configuration.php
    • No unusual PHP or Joomla log messages

This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48529.
avatar MacJoom MacJoom - test_item - 2 Oct 2026 - Tested successfully
avatar MacJoom
MacJoom - comment - 2 Oct 2026

I have tested this item ✅ successfully on 69d8698

Tested on joomla-6.2.0 RC2 - on a local system


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

avatar MacJoom
MacJoom - comment - 2 Oct 2026

I have tested this item ✅ successfully on 69d8698

Tested on joomla-6.2.0 RC2 - on a local system


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

avatar brianteeman
brianteeman - comment - 4 Oct 2026

Two successful tests please mark as RTC

avatar QuyTon QuyTon - change - 5 Oct 2026
Status Pending ⇒ Ready to Commit
Labels Added: bug PR-6.2-dev
avatar QuyTon
QuyTon - comment - 5 Oct 2026

RTC


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

avatar QuyTon
QuyTon - comment - 5 Oct 2026

RTC


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

Add a Comment

Login with GitHub to post a comment