Jump to content

Topic on Project:Support desk/Flow

ArchATempAcct (talkcontribs)

We havent altered localsettings.php (to my knowledge) and now everyone is getting this error, seemingly out of nowhere, when people try to use their preferences area:

Internal error Jump to navigation Jump to search

[5ae6fcab633b45b38c47906d] /Special:Preferences MWException: Default '2' is invalid for preference imagesize of user 𝗔𝗿𝗰𝗵𝗮𝗻𝗴𝗲𝗹

Backtrace:

from /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(351)

  1. 0 /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(260): MediaWiki\Preferences\DefaultPreferencesFactory->loadPreferenceValues(User, RequestContext, array)
  2. 1 /home/rabidpan/public_html/fascipedia/includes/preferences/DefaultPreferencesFactory.php(1800): MediaWiki\Preferences\DefaultPreferencesFactory->getFormDescriptor(User, RequestContext)
  3. 2 /home/rabidpan/public_html/fascipedia/includes/specials/SpecialPreferences.php(131): MediaWiki\Preferences\DefaultPreferencesFactory->getForm(User, RequestContext, string)
  4. 3 /home/rabidpan/public_html/fascipedia/includes/specials/SpecialPreferences.php(109): SpecialPreferences->getFormObject(User, RequestContext)
  5. 4 /home/rabidpan/public_html/fascipedia/includes/specialpage/SpecialPage.php(701): SpecialPreferences->execute(NULL)
  6. 5 /home/rabidpan/public_html/fascipedia/includes/specialpage/SpecialPageFactory.php(1428): SpecialPage->run(NULL)
  7. 6 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
  8. 7 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(904): MediaWiki->performRequest()
  9. 8 /home/rabidpan/public_html/fascipedia/includes/MediaWiki.php(562): MediaWiki->main()
  10. 9 /home/rabidpan/public_html/fascipedia/index.php(50): MediaWiki->run()
  11. 10 /home/rabidpan/public_html/fascipedia/index.php(46): wfIndexMain()
  12. 11 {main}
Paul.lenhart (talkcontribs)

I just found this issue on one of my wikis. I don't suppose you ever found a fix?

For comparison, here's my backtrace...


[Z1oY54QmUfBG8HNxxUzIBQAAANI] /index.php?title=Special:Preferences MWException: Default '"0"' is invalid for preference math of user Pltee

Backtrace:

from /datalocal/www/html/mediawiki/includes/preferences/DefaultPreferencesFactory.php(298)

#0 /datalocal/www/html/mediawiki/includes/preferences/DefaultPreferencesFactory.php(250): MediaWiki\Preferences\DefaultPreferencesFactory->loadPreferenceValues()

#1 /datalocal/www/html/mediawiki/includes/preferences/DefaultPreferencesFactory.php(1681): MediaWiki\Preferences\DefaultPreferencesFactory->getFormDescriptor()

#2 /datalocal/www/html/mediawiki/includes/specials/SpecialPreferences.php(132): MediaWiki\Preferences\DefaultPreferencesFactory->getForm()

#3 /datalocal/www/html/mediawiki/includes/specials/SpecialPreferences.php(110): SpecialPreferences->getFormObject()

#4 /datalocal/www/html/mediawiki/includes/specialpage/SpecialPage.php(647): SpecialPreferences->execute()

#5 /datalocal/www/html/mediawiki/includes/specialpage/SpecialPageFactory.php(1366): SpecialPage->run()

#6 /datalocal/www/html/mediawiki/includes/MediaWiki.php(314): MediaWiki\SpecialPage\SpecialPageFactory->executePath()

#7 /datalocal/www/html/mediawiki/includes/MediaWiki.php(930): MediaWiki->performRequest()

#8 /datalocal/www/html/mediawiki/includes/MediaWiki.php(564): MediaWiki->main()

#9 /datalocal/www/html/mediawiki/index.php(53): MediaWiki->run()

#10 /datalocal/www/html/mediawiki/index.php(46): wfIndexMain()

#11 {main}

Reply to "preferences error"