I'm not entirely sure if this is an issue with my set up, or if it is a general issue with the MobileFrontend extension. Whenever I try to log-in on a wiki using MobileFrontend (and CentralAuth if that makes a difference), it throws a type error, but logs me in anyway if I refresh the page.
The error is:
[a011ee98ed48f9654ecbe59c] /wiki/Special:CentralLogin/start?token=redacted
TypeError: Cannot access offset of type string on string
Backtrace:
from /var/www/html/mediawiki1/extensions/MobileFrontend/includes/MobileFrontendHooks.php(960)
#0 /var/www/html/mediawiki1/includes/HookContainer/HookContainer.php(338): MobileFrontendHooks::onCentralAuthLoginRedirectData()
#1 /var/www/html/mediawiki1/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook()
#2 /var/www/html/mediawiki1/extensions/CentralAuth/includes/Hooks/CentralAuthHookRunner.php(74): MediaWiki\HookContainer\HookContainer->run()
#3 /var/www/html/mediawiki1/extensions/CentralAuth/includes/Special/SpecialCentralLogin.php(223): MediaWiki\Extension\CentralAuth\Hooks\CentralAuthHookRunner->onCentralAuthSilentLoginRedirect()
#4 /var/www/html/mediawiki1/extensions/CentralAuth/includes/Special/SpecialCentralLogin.php(88): MediaWiki\Extension\CentralAuth\Special\SpecialCentralLogin->doLoginStart()
#5 /var/www/html/mediawiki1/includes/specialpage/SpecialPage.php(701): MediaWiki\Extension\CentralAuth\Special\SpecialCentralLogin->execute()
#6 /var/www/html/mediawiki1/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run()
#7 /var/www/html/mediawiki1/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath()
#8 /var/www/html/mediawiki1/includes/MediaWiki.php(904): MediaWiki->performRequest()
#9 /var/www/html/mediawiki1/includes/MediaWiki.php(562): MediaWiki->main()#10 /var/www/html/mediawiki1/index.php(49): MediaWiki->run()
#11 /var/www/html/mediawiki1/index.php(45): wfIndexMain()
#12 {main}This is using MediaWiki 1.39.1 and PHP 8.1.18, both MobileFrontend and CentralAuth have been updated with the REL1_39 branches, but this doesn't solve the issue.