Issue:Call-time pass-by-reference deprecated

From FollowTheScore
Revision as of 16:38, 28 December 2007 by Hvdeynde (talk | contribs)
Jump to: navigation, search

Environment: fedora 8, php 5.2.4, mediawiki 1.11.0

I installed DPL2. Each wiki page now displays:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. in /home/sites/dsrv496.lab.belbone.be/htdocs/extensions/DynamicPageList/DynamicPageList2Include.php on line 283

I tried setting

ini_set("allow_call_time_pass_reference", "True");

but that doesn't work.

Is there any reason why

return self::extractHeadingFromText($parser, $page, $title, $text, $sec, $to, &$sectionHeading, $recursionCheck, maxLength, $link);

still uses a call by reference? --Hvdeynde