Last modified: 2011-06-01 18:58:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31227, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29227 - Warning: in_array(): Wrong datatype for second argument in ParserOptions.php
Warning: in_array(): Wrong datatype for second argument in ParserOptions.php
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
DynamicPageList2 (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-01 06:42 UTC by helix
Modified: 2011-06-01 18:58 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description helix 2011-06-01 06:42:13 UTC
PHP logs multiple warn messages if dpl is enabled and ExtDynamicPageList::$respectParserCache is set true.

Jun  1 06:27:41 lighttpd[16326]: (mod_fastcgi.c.2701) FastCGI-stderr:
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 272 
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 281 
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 286 
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 289 
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 294 
PHP Warning:  in_array() expects parameter 2 to be array, boolean given in /srv/htdocs/includes/parser/ParserOptions.php on line 299
Comment 1 Bawolff (Brian Wolff) 2011-06-01 18:49:54 UTC
Moving Component to DynamicPageList2 (based on your message, this is an issue with DynamicPageList (third party), not the wikimedia version, which in the bug tracker is DynamicPageList2)
Comment 2 Brion Vibber 2011-06-01 18:58:22 UTC
Can't reproduce this locally. Looks like for it to happen, something would have to break the rendering hash settings array...?

* what exact versions?
* what exact settings?
* what exactly do you have to do to reproduce the problem? a page containing some text? what text?
Comment 3 Brion Vibber 2011-06-01 18:58:51 UTC
Oh is this about third-party DPL variant? Closing INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links