Last modified: 2011-07-30 15:50:29 UTC
when using {{#dpl: with the namespace option it generates the proper output in the page but adds the following warnings to the top of the page Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 274 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 289 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 292 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 297 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 302 Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/aiowiki/aiowiki/w/includes/parser/ParserOptions.php on line 317 this is only an issue with mw 1.17.0 1.16.5 is fine
Did you update the extension version aswell when you upgraded to 1.17?
yes I did first I tried it with the 1.16 version, that didn't work so I upgraded to the 1.17 version of the extension, that also didn't work so I upgraded to the trunk version of the extension that also gave the warnings. Then since I'm an acquaintance of the developer I asked him and he sent me a different version to try, but it also gave the warnings.
Same issue here with 1.17 and the trunk version for this extension, when trying to grab parameters from templates (no matter the page namespace) {{#dpl:|title=Main|include={TestTemplate}:desc}} Also get these errors related to a new function added to ParserOptions.php in 1.17 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 274 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 289 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 292 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 297 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 302 Warning: in_array() expects parameter 2 to be array, boolean given in /home/swiki/swiki/w/includes/parser/ParserOptions.php on line 317
*** This bug has been marked as a duplicate of bug 27543 ***