https://bugzilla.wikimedia.org/show_bug.cgi?id=55479
Web browser: --- Bug ID: 55479 Summary: Undefined indexes in MWExceptionHandler::formatRedactedTrace Product: MediaWiki Version: 1.22-git Hardware: All OS: All Status: NEW Severity: minor Priority: Unprioritized Component: General/Unknown Assignee: dereck...@espace-win.org Reporter: dereck...@espace-win.org Classification: Unclassified Mobile Platform: --- Notice: Undefined index: file in /var/wwwroot/dereckson.be/mediawiki/includes/Exception.php on line 740 In an exception stacktrace, I get the following value without file/line value: Array ( [function] => doEditContent [class] => WikiPage [type] => -> [args] => Array ( [0] => WikitextContent Object ( [model_id:protected] => wikitext [mText] => Lorem ipsum dolor ) [1] => [2] => 98 [3] => [4] => [5] => text/x-wiki ) ) This generates a notice as the following debug code always expect these: File: includes/Exception.php Method: formatRedactedTrace Code (around line 740): $finalExceptionText .= "#{$i} {$call['file']}({$call['line']}): "; To reproduce this bug: 1. $wgHooks['PageContentSaveComplete'][] = 'ANonExistentFunction'; 2. edit a page and save it -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l