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

Special:Version RuntimeException #3224

Closed
GrumpyGecko opened this issue Jul 16, 2018 · 2 comments
Closed

Special:Version RuntimeException #3224

GrumpyGecko opened this issue Jul 16, 2018 · 2 comments
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error invalid not related to SMW

Comments

@GrumpyGecko
Copy link

GrumpyGecko commented Jul 16, 2018

Setup and configuration

  • SMW version:3.0
  • MW version:1.31
  • PHP version:7.2
  • DB system (MySQL, Blazegraph, etc.) and version:5.7.22 - MySQL Community Server (GPL)

Issue

The Special:Version page is not showing any more, only an error message is visible.

[709a79946651aea1bc313ead] /index.php?title=Special:Version RuntimeException from line 59 of /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/src/Elastic/Connection/DummyClient.php: The DummyClient is not expected to be used outside of a test environment.

Backtrace

#0 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/src/Elastic/Connection/ConnectionProvider.php(90): SMW\Elastic\Connection\DummyClient->__construct()
#1 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/src/Connection/ConnectionManager.php(32): SMW\Elastic\Connection\ConnectionProvider->getConnection()
#2 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/src/Store.php(575): SMW\Connection\ConnectionManager->getConnection(string)
#3 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3.php(646): SMW\Store->getConnection(string)
#4 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/extensions/SemanticMediaWiki/src/MediaWiki/Hooks/HookRegistry.php(981): SMWSQLStore3->getConnection(string)
#5 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/Hooks.php(177): SMW\MediaWiki\Hooks\HookRegistry->newSoftwareInfo(array)
#6 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#7 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/specials/SpecialVersion.php(241): Hooks::run(string, array)
#8 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/specials/SpecialVersion.php(139): SpecialVersion::softwareInformation()
#9 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/specialpage/SpecialPage.php(522): SpecialVersion->execute(NULL)
#10 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/specialpage/SpecialPageFactory.php(568): SpecialPage->run(NULL)
#11 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/MediaWiki.php(288): SpecialPageFactory::executePath(Title, RequestContext)
#12 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/MediaWiki.php(861): MediaWiki->performRequest()
#13 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/includes/MediaWiki.php(524): MediaWiki->main()
#14 /var/www/vhosts/hosting108982.a2f12.netcup.net/httpdocs/index.php(42): MediaWiki->run()
#15 {main}

Steps to reproduce

The error can be seen: https://chatwars-wiki.de/index.php?title=Special:Version

@mwjames
Copy link
Contributor

mwjames commented Jul 16, 2018 via email

@GrumpyGecko
Copy link
Author

perfect timing of mine. Just updated and it works now. Thank you very much.

@kghbln kghbln added bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error invalid not related to SMW labels Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Occurrence of an unintended or unanticipated behaviour that causes a vulnerability or fatal error invalid not related to SMW
Projects
None yet
Development

No branches or pull requests

3 participants