Open iordonez opened 14 years ago
I'm trying to get a dev environment set up to do some testing. I'll see if I can reproduce this error then.
I was able to find this fix here that seemed to work for now:
http://www.mediawiki.org/wiki/Extension_talk:EmbedVideo#Problem_with_PHP_5.1.6
I too got it to work using the code found on the link in iordonez' comment.
Note that I also had to do the includes at the very end of the LocalSettings.php file, after all custom namespace declarations.
I haven't been able to reproduce this error myself. If somebody can submit a patch or pull request that fixes it, I will be happy to test and apply it.
I'm kinda busy but I can confirm that with wikipedia 1.6, PHP 5.2.n or higher the link above fixes the problem... Sorry can't provide more details at this time.
The following PHP errors display when trying to use EmbedVideo running:
[Tue Oct 19 21:33:27 2010] [error] [client 66.249.71.68] PHP Warning: call_user_func_array() [function.call-user-func-array]: Unable to call EmbedVideo::parserFunction_ev() in /web/wiki/includes/parser/Parser.php on line 2920
PHP 5.1.6 mysql 5.0.77 Apache 2.2.3 MediaWiki 1.16.0