Last modified: 2013-02-18 19:16:32 UTC
Installed software: MediaWiki 1.20.2 PHP 5.4.11 MySQL 5.6.10 Extension: https://www.mediawiki.org/wiki/Extension:Video Error on Main Page: "Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method VideoHooks::videoFromTitle() should not be called statically in c:\etc\www\htdocs\w\includes\Hooks.php on line 216. Errors on Special:AddVideo Notice: Undefined offset 2 in c:\etc\www\htdocs\w\extensions\Video\VideoClass.php on line 471. Notice: Undefined offset 6 in c:\etc\www\htdocs\w\extensions\Video\VideoClass.php on line 478.
Strict: https://gerrit.wikimedia.org/r/49679
https://gerrit.wikimedia.org/r/49680
(In reply to comment #1) > Strict: https://gerrit.wikimedia.org/r/49679 The VideoClass.php errors are fixed/verified.
(In reply to comment #3) > (In reply to comment #1) > > Strict: https://gerrit.wikimedia.org/r/49679 > > The VideoClass.php errors are fixed/verified (In reply to comment #1) > Strict: https://gerrit.wikimedia.org/r/49679 But, still getting the "Strict Standards" error on 216 for w\included\Hooks.php. The VideoHooks.php file was updated.
Adding the "static public" to the "function videoFromTitle" on line 81 of the VideoHooks.php did not resolve the callback error. The method VideoHooks:videoFromTitle () does not appear in the VideoHooks.php file. Is this a possible reason for the error message?