https://bugzilla.wikimedia.org/show_bug.cgi?id=55634

       Web browser: ---
            Bug ID: 55634
           Summary: Exception after call_user_func causes error (PHP
                    Notice: Undefined index: file, PHP Notice: Undefined
                    index: line)
           Product: MediaWiki
           Version: 1.22-git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

Cause an exception from something with call_user_func in its stack.

For example, if you use wfUseMW( '2000.0' ); inside VisualEditor::onSetup
(wgExtensionFunctions), you get:



Notice: Undefined index: file in /includes/Exception.php on line 725
Notice: Undefined index: line in /includes/Exception.php on line 725
Notice: Undefined index: file in /includes/Exception.php on line 725
Notice: Undefined index: line in /includes/Exception.php on line 725

MediaWiki 2000.0 required--this is only 1.22alpha

Backtrace:

#0 /extensions/VisualEditor/VisualEditor.hooks.php(23): wfUseMW('1.229wmf11')
#1 (): VisualEditorHooks::onSetup()
#2 /includes/Setup.php(592): call_user_func('VisualEditorHooks::onSetup')
#3 /includes/WebStart.php(153): require_once('/includes/Setup.php')
#4 /index.php(46): require('/includes/WebStart.php')
#5 {main}

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to