I get this error after installing the extension. The portion of the code where the error occurs is listed bellow (note the comment indicating the line with the error) Any ideas on this?
Im using MediaWiki 1.19.15 and PHP 5.2.6
public static function processEncodedWidgetOutput( &$out, &$text ) {
// Find all hidden content and restore to normal
$text = preg_replace_callback(
'/ENCODED_CONTENT ' . self::$mRandomString . '([0-9a-zA-Z\/+]+=*)* END_ENCODED_CONTENT/',
function( $matches ) { //this is line 142, where the error happens
return base64_decode( $matches[1]);
},
$text
);
return true;
}