Page MenuHomePhabricator

Invalid parameter for message "pageinfo-subpages-value": a:1:{s:3:"num";N;}
Closed, ResolvedPublicPRODUCTION ERROR

Description

2015-03-13 22:53:05 mw1099 eswikibooks: Invalid parameter for message "pageinfo-subpages-value": a:1:{s:3:"num";N;}
#0 /srv/mediawiki/php-1.25wmf20/includes/Message.php(966): Message->extractParam()
#1 /srv/mediawiki/php-1.25wmf20/includes/Message.php(733): Message->replaceParameters()
#2 /srv/mediawiki/php-1.25wmf20/includes/Message.php(826): Message->toString()
#3 /srv/mediawiki/php-1.25wmf20/includes/actions/InfoAction.php(128): Message->escaped()
#4 /srv/mediawiki/php-1.25wmf20/includes/actions/FormlessAction.php(43): InfoAction->onView()
#5 /srv/mediawiki/php-1.25wmf20/includes/MediaWiki.php(405): FormlessAction->show()
#6 /srv/mediawiki/php-1.25wmf20/includes/MediaWiki.php(277): MediaWiki->performAction()
#7 /srv/mediawiki/php-1.25wmf20/includes/MediaWiki.php(573): MediaWiki->performRequest()
#8 /srv/mediawiki/php-1.25wmf20/includes/MediaWiki.php(424): MediaWiki->main()
#9 /srv/mediawiki/php-1.25wmf20/index.php(46): MediaWiki->run()
#10 /srv/mediawiki/w/index.php(3): include()
#11 {main}

See also: T61158: Invalid parameter for message "abusefilter-edit-lastmod-text": a:1:{s:3:"raw";N;}

Event Timeline

Krenair raised the priority of this task from to Needs Triage.
Krenair updated the task description. (Show Details)
Krenair added a subscriber: Krenair.

The parameter of the message are always set before use, just in one case not: When the result of action=info is cached and $wgNamespacesWithSubpages was changed to include the namespace the page is in. Than there should be a undefinied index access on key 'subpages' or 'total'/'redirects'/'nonredirects' right before this warning.

Changes to that global was done on eswikibooks some days before: https://gerrit.wikimedia.org/r/#/c/195565/

The parameter of the message are always set before use, just in one case not: When the result of action=info is cached and $wgNamespacesWithSubpages was changed to include the namespace the page is in. Than there should be a undefinied index access on key 'subpages' or 'total'/'redirects'/'nonredirects' right before this warning.

Changes to that global was done on eswikibooks some days before: https://gerrit.wikimedia.org/r/#/c/195565/

The config should be exactly the same as before though:

alex@alex-laptop:~$ ssh tin.eqiad.wmnet -t mwscript eval.php eswikibooks
> var_dump( MWNamespace::hasSubpages( 0 ) );
bool(true)

> var_dump( MWNamespace::hasSubpages( 6 ) );
bool(false)

> var_dump( MWNamespace::hasSubpages( 8 ) );
bool(false)

The config should be exactly the same as before though:

It certainly did change after the cleanup. See T1335. I guess it's because of how SiteConfiguration handles "+"arrays.

Aklapper triaged this task as Medium priority.Mar 17 2015, 9:23 AM
hashar lowered the priority of this task from Medium to Low.Jun 1 2015, 1:19 PM
hashar added a subscriber: hashar.

It has not occurred over a month of logs.

demon claimed this task.
demon added a subscriber: demon.

Assuming this was fixed.

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:12 PM