Last modified: 2014-11-03 17:29:08 UTC
because of this, i can't purge the page Fatal error: Site::unserialize() [<a href='site.unserialize'>site.unserialize</a>]: Nesting level too deep - recursive dependency? at /srv/mediawiki/php-1.25wmf4/includes/site/Site.php on line 695 Server: mw1042 Method: GET Backtrace: #0 /srv/mediawiki/php-1.25wmf4/includes/site/Site.php(695): Site->unserialize() #1 [internal function]: Site->unserialize('a:10:{s:8:"glob...') #2 /srv/mediawiki/php-1.25wmf4/includes/libs/GenericArrayObject.php(217): unserialize('a:5:{s:4:"data"...') #3 /srv/mediawiki/php-1.25wmf4/includes/site/SiteList.php(344): GenericArrayObject->unserialize('a:5:{s:4:"data"...') #4 [internal function]: SiteList->unserialize('a:5:{s:4:"data"...') #5 /srv/mediawiki/php-1.25wmf4/includes/objectcache/MemcachedPeclBagOStuff.php(124): Memcached->get('viwiki:sites/Si...', NULL, NULL) #6 /srv/mediawiki/php-1.25wmf4/includes/site/SiteSQLStore.php(127): MemcachedPeclBagOStuff->get('viwiki:sites/Si...') #7 /srv/mediawiki/php-1.25wmf4/includes/site/SiteSQLStore.php(279): SiteSQLStore->getSites('cache') #8 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php(393): SiteSQLStore->getSite('viwiki') #9 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php(738): Wikibase\Client\WikibaseClient->getSite() #10 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/config/WikibaseClient.default.php(243): Wikibase\Client\WikibaseClient->getOtherProjectsSitesProvider() #11 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/lib/includes/SettingsArray.php(57): {closure}(Object(Wikibase\Settings)) #12 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php(673): Wikibase\SettingsArray->getSetting('otherProjectsLi...') #13 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/WikibaseClient.php(556): Wikibase\Client\WikibaseClient->getOtherProjectsSidebarGenerator() #14 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/hooks/SidebarHookHandlers.php(85): Wikibase\Client\WikibaseClient->getLangLinkHandler() #15 /srv/mediawiki/php-1.25wmf4/extensions/Wikidata/extensions/Wikibase/client/includes/hooks/SidebarHookHandlers.php(130): Wikibase\Client\Hooks\SidebarHookHandlers::newFromGlobalState() #16 [internal function]: Wikibase\Client\Hooks\SidebarHookHandlers::onParserAfterParse(Object(Parser), '?<table class="...', Object(StripState)) #17 /srv/mediawiki/php-1.25wmf4/includes/Hooks.php(206): call_user_func_array('\Wikibase\Clien...', Array) #18 /srv/mediawiki/php-1.25wmf4/includes/GlobalFunctions.php(4004): Hooks::run('ParserAfterPars...', Array, NULL) #19 /srv/mediawiki/php-1.25wmf4/includes/parser/Parser.php(431): wfRunHooks('ParserAfterPars...', Array) #20 [internal function]: Parser->parse('{{Infobox Itali...', Object(Title), Object(ParserOptions), true, true, 17841957) #21 /srv/mediawiki/php-1.25wmf4/includes/StubObject.php(105): call_user_func_array(Array, Array) #22 /srv/mediawiki/php-1.25wmf4/includes/StubObject.php(125): StubObject->_call('parse', Array) #23 /srv/mediawiki/php-1.25wmf4/includes/content/WikitextContent.php(338): StubObject->__call('parse', Array) #24 /srv/mediawiki/php-1.25wmf4/includes/content/WikitextContent.php(338): StubObject->parse('{{Infobox Itali...', Object(Title), Object(ParserOptions), true, true, 17841957) #25 /srv/mediawiki/php-1.25wmf4/includes/content/AbstractContent.php(490): WikitextContent->fillParserOutput(Object(Title), 17841957, Object(ParserOptions), true, Object(ParserOutput)) #26 /srv/mediawiki/php-1.25wmf4/includes/poolcounter/PoolWorkArticleView.php(139): AbstractContent->getParserOutput(Object(Title), 17841957, Object(ParserOptions)) #27 /srv/mediawiki/php-1.25wmf4/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork() #28 /srv/mediawiki/php-1.25wmf4/includes/page/Article.php(688): PoolCounterWork->execute() #29 /srv/mediawiki/php-1.25wmf4/includes/actions/ViewAction.php(44): Article->view() #30 /srv/mediawiki/php-1.25wmf4/includes/MediaWiki.php(414): ViewAction->show() #31 /srv/mediawiki/php-1.25wmf4/includes/MediaWiki.php(282): MediaWiki->performAction(Object(Article), Object(Title)) #32 /srv/mediawiki/php-1.25wmf4/includes/MediaWiki.php(584): MediaWiki->performRequest() #33 /srv/mediawiki/php-1.25wmf4/includes/MediaWiki.php(435): MediaWiki->main() #34 /srv/mediawiki/php-1.25wmf4/index.php(46): MediaWiki->run() #35 /srv/mediawiki/w/index.php(3): require('/srv/mediawiki/...')
i think this sites data has been saved with hhvm and i can't purge with php zend. if i switch to hhvm, i can purge. then go back to zend and can't.
this seems to work now, with or without hhvm / zend. i was able to reproduce the issue with: $title = Title::newFromText( 'Venezia' ); $rev = Revision::newFromId( 17841957 ); $content = $rev->getContent(); $pout = $content->getParserOutput( $title, 17841957 ); but not with using the sites store more directly, with SiteSQLStore::newInstance() nor with trying SidebarHookHandlers::newFromGlobalState(). I cannot reproduce the issue with other, related pages on viwiki. I think we just see if this occurs again in the logs in the next days. If not, then close this bug.