Topic on Extension talk:Include

It does not work: Warning: Parameter 3 to render_include() expected to be a reference [solved]

2
Peachey88 (Flood) (talkcontribs)

If your browser log file shows

[error] PHP Warning: Parameter 3 to render_include() expected to be a reference, value given in .../includes/parser/Parser.php on line 3333

you need to apply the

patch for PHP 5.3.x

--- secure-include.php.orig	2011-05-22 04:54:45.000000000 +0200
+++ secure-include.php	2011-05-22 04:53:16.000000000 +0200
@@ -669,7 +669,7 @@
  * @access public
  * @return string
  */
-function ef_include_render ( $input , $argv, &$parser )
+function ef_include_render ( $input , $argv, $parser )
 {
     global $highlighter_package;
     global $wg_include_allowed_features;
  • tested for MediaWiki trunk 1.19alpha (r88557) and PHP 5.3.6

This post was posted by Peachey88 (Flood), but signed as Wikinaut.

Peachey88 (Flood) (talkcontribs)
Reply to "It does not work: Warning: Parameter 3 to render_include() expected to be a reference [solved]"