Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MediaWiki Internal Server Error after updating to MediaWiki version 1.38.4 #545

Closed
Kaisa-Serian opened this issue Nov 15, 2022 · 1 comment
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@Kaisa-Serian
Copy link

Kaisa-Serian commented Nov 15, 2022

Original exception: [Y3PIseWpuK-CozPqgZlxFAAAWh0] /snazpedia/index.php/Main_Page IntlException: Constructor failed
Backtrace:
from /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(180)
#0 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(180): NumberFormatter->__construct(string, integer)
#1 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(90): MediaWiki\Skins\Citizen\Partials\Drawer->getSiteStatsData()
#2 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/SkinCitizen.php(120): MediaWiki\Skins\Citizen\Partials\Drawer->getDrawerTemplateData()
#3 /home2/vetpetmon/public_html/snazpedia/includes/skins/SkinMustache.php(58): MediaWiki\Skins\Citizen\SkinCitizen->getTemplateData()
#4 /home2/vetpetmon/public_html/snazpedia/includes/skins/SkinTemplate.php(150): SkinMustache->generateHTML()
#5 /home2/vetpetmon/public_html/snazpedia/includes/OutputPage.php(2807): SkinTemplate->outputPage()
#6 /home2/vetpetmon/public_html/snazpedia/includes/MediaWiki.php(926): OutputPage->output(boolean)
#7 /home2/vetpetmon/public_html/snazpedia/includes/MediaWiki.php(939): MediaWiki::{closure}()
#8 /home2/vetpetmon/public_html/snazpedia/includes/MediaWiki.php(563): MediaWiki->main()
#9 /home2/vetpetmon/public_html/snazpedia/index.php(53): MediaWiki->run()
#10 /home2/vetpetmon/public_html/snazpedia/index.php(46): wfIndexMain()
#11 {main}

Exception caught inside exception handler: [Y3PIseWpuK-CozPqgZlxFAAAWh0] /snazpedia/index.php/Main_Page IntlException: Constructor failed
Backtrace:
from /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(180)
#0 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(180): NumberFormatter->__construct(string, integer)
#1 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/Partials/Drawer.php(90): MediaWiki\Skins\Citizen\Partials\Drawer->getSiteStatsData()
#2 /home2/vetpetmon/public_html/snazpedia/skins/Citizen/includes/SkinCitizen.php(120): MediaWiki\Skins\Citizen\Partials\Drawer->getDrawerTemplateData()
#3 /home2/vetpetmon/public_html/snazpedia/includes/skins/SkinMustache.php(58): MediaWiki\Skins\Citizen\SkinCitizen->getTemplateData()
#4 /home2/vetpetmon/public_html/snazpedia/includes/skins/SkinTemplate.php(150): SkinMustache->generateHTML()
#5 /home2/vetpetmon/public_html/snazpedia/includes/OutputPage.php(2807): SkinTemplate->outputPage()
#6 /home2/vetpetmon/public_html/snazpedia/includes/exception/MWExceptionRenderer.php(157): OutputPage->output()
#7 /home2/vetpetmon/public_html/snazpedia/includes/exception/MWExceptionRenderer.php(76): MWExceptionRenderer::reportHTML(IntlException)
#8 /home2/vetpetmon/public_html/snazpedia/includes/exception/MWExceptionHandler.php(107): MWExceptionRenderer::output(IntlException, integer)
#9 /home2/vetpetmon/public_html/snazpedia/includes/exception/MWExceptionHandler.php(202): MWExceptionHandler::report(IntlException)
#10 /home2/vetpetmon/public_html/snazpedia/includes/MediaWiki.php(582): MWExceptionHandler::handleException(IntlException, string)
#11 /home2/vetpetmon/public_html/snazpedia/index.php(53): MediaWiki->run()
#12 /home2/vetpetmon/public_html/snazpedia/index.php(46): wfIndexMain()
#13 {main}

I'm filing this issue report on behalf of the SNAZpedia wiki admin. After an update to MediaWiki version 1.38.4, this error began to pop up whenever someone attempts to access the site. referencing a failed constructor with this skin's name mentioned.

@Kaisa-Serian Kaisa-Serian added the bug Something isn't working label Nov 15, 2022
@alistair3149
Copy link
Member

alistair3149 commented Nov 15, 2022

Your server is either missing the php-intl plugin or doesn't have it configured properly.
Alternatively, you can set $wgCitizenUseNumberFormatter to false to disable the localization for the stats.

Closing due to this being a duplicate of #474

@alistair3149 alistair3149 added the duplicate This issue or pull request already exists label Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants