Skip to content

Instantly share code, notes, and snippets.

@freephile
Created May 17, 2019 10:12
Show Gist options
  • Save freephile/a041f294c03c3a2f7d6476a91034eaad to your computer and use it in GitHub Desktop.
Save freephile/a041f294c03c3a2f7d6476a91034eaad to your computer and use it in GitHub Desktop.
NameTableAccessException
MediaWiki internal error.
Original exception: [ac7a70055b293fb9ad91406f] /wiki/it/Pagina_principale?requestDebug=true MediaWiki\Storage\NameTableAccessException from line 42 of /opt/htdocs/wiki/mediawiki/includes/Storage/NameTableAccessException.php: Failed to access name from slot_roles using id = 1
Backtrace:
#0 /opt/htdocs/wiki/mediawiki/includes/Storage/NameTableStore.php(308): MediaWiki\Storage\NameTableAccessException::newFromDetails(string, string, integer)
#1 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionStore.php(1624): MediaWiki\Storage\NameTableStore->getName(integer)
#2 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#3 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
#4 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#5 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#6 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#7 /opt/htdocs/wiki/mediawiki/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#8 /opt/htdocs/wiki/mediawiki/includes/Revision.php(965): Revision->getMainSlotRaw()
#9 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(641): Revision->getContentModel()
#10 /opt/htdocs/wiki/mediawiki/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#11 /opt/htdocs/wiki/mediawiki/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#12 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#13 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#14 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#15 /opt/htdocs/wiki/mediawiki/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#16 /opt/htdocs/wiki/mediawiki/includes/actions/Action.php(156): Action::factory(string, WikiPage, RequestContext)
#17 /opt/htdocs/wiki/mediawiki/includes/MediaWiki.php(155): Action::getActionName(RequestContext)
#18 /opt/htdocs/wiki/mediawiki/includes/MediaWiki.php(777): MediaWiki->getAction()
#19 /opt/htdocs/wiki/mediawiki/includes/MediaWiki.php(517): MediaWiki->main()
#20 /opt/htdocs/wiki/mediawiki/index.php(42): MediaWiki->run()
#21 {main}
Exception caught inside exception handler: [ac7a70055b293fb9ad91406f] /wiki/it/Pagina_principale?requestDebug=true MediaWiki\Storage\NameTableAccessException from line 42 of /opt/htdocs/wiki/mediawiki/includes/Storage/NameTableAccessException.php: Failed to access name from slot_roles using id = 1
Backtrace:
#0 /opt/htdocs/wiki/mediawiki/includes/Storage/NameTableStore.php(308): MediaWiki\Storage\NameTableAccessException::newFromDetails(string, string, integer)
#1 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionStore.php(1624): MediaWiki\Storage\NameTableStore->getName(integer)
#2 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionStore.php(1671): MediaWiki\Revision\RevisionStore->loadSlotRecords(string, integer)
#3 [internal function]: MediaWiki\Revision\RevisionStore->MediaWiki\Revision\{closure}()
#4 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionSlots.php(165): call_user_func(Closure)
#5 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionSlots.php(107): MediaWiki\Revision\RevisionSlots->getSlots()
#6 /opt/htdocs/wiki/mediawiki/includes/Revision/RevisionRecord.php(192): MediaWiki\Revision\RevisionSlots->getSlot(string)
#7 /opt/htdocs/wiki/mediawiki/includes/Revision.php(697): MediaWiki\Revision\RevisionRecord->getSlot(string, integer)
#8 /opt/htdocs/wiki/mediawiki/includes/Revision.php(965): Revision->getMainSlotRaw()
#9 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(641): Revision->getContentModel()
#10 /opt/htdocs/wiki/mediawiki/includes/libs/objectcache/WANObjectCache.php(1277): WikiPage->{closure}(boolean, integer, array, NULL)
#11 /opt/htdocs/wiki/mediawiki/includes/libs/objectcache/WANObjectCache.php(1150): WANObjectCache->doGetWithSetCallback(string, integer, Closure, array)
#12 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(647): WANObjectCache->getWithSetCallback(string, integer, Closure)
#13 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(269): WikiPage->getContentModel()
#14 /opt/htdocs/wiki/mediawiki/includes/page/WikiPage.php(256): WikiPage->getContentHandler()
#15 /opt/htdocs/wiki/mediawiki/includes/actions/Action.php(98): WikiPage->getActionOverrides()
#16 /opt/htdocs/wiki/mediawiki/includes/actions/Action.php(156): Action::factory(string, WikiPage, OutputPage)
#17 /opt/htdocs/wiki/mediawiki/extensions/CharInsert/includes/CharInsert.php(21): Action::getActionName(OutputPage)
#18 /opt/htdocs/wiki/mediawiki/includes/Hooks.php(174): CharInsert::onBeforePageDisplay(OutputPage, SkinVector)
#19 /opt/htdocs/wiki/mediawiki/includes/Hooks.php(234): Hooks::callHook(string, array, array, NULL, string)
#20 /opt/htdocs/wiki/mediawiki/includes/OutputPage.php(2703): Hooks::runWithoutAbort(string, array)
#21 /opt/htdocs/wiki/mediawiki/includes/exception/MWExceptionRenderer.php(136): OutputPage->output()
#22 /opt/htdocs/wiki/mediawiki/includes/exception/MWExceptionRenderer.php(53): MWExceptionRenderer::reportHTML(MediaWiki\Storage\NameTableAccessException)
#23 /opt/htdocs/wiki/mediawiki/includes/exception/MWExceptionHandler.php(98): MWExceptionRenderer::output(MediaWiki\Storage\NameTableAccessException, integer)
#24 /opt/htdocs/wiki/mediawiki/includes/exception/MWExceptionHandler.php(172): MWExceptionHandler::report(MediaWiki\Storage\NameTableAccessException)
#25 /opt/htdocs/wiki/mediawiki/includes/MediaWiki.php(544): MWExceptionHandler::handleException(MediaWiki\Storage\NameTableAccessException)
#26 /opt/htdocs/wiki/mediawiki/index.php(42): MediaWiki->run()
#27 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment