Last modified: 2010-05-15 15:38:42 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3684 - wfDieDebugBacktrace function called in Hooks.php is never defined
wfDieDebugBacktrace function called in Hooks.php is never defined
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
PC Windows 2000
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-10-12 01:32 UTC by Nick Jenkins
Modified: 2010-05-15 15:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Nick Jenkins 2005-10-12 01:32:12 UTC
In MediaWiki 1.5.0 the wfDieDebugBacktrace function is used in Hooks.php, but is
never defined:

ludo:/var/www/hosts/mediawiki-test/wiki# grep -inr wfDieDebugBacktrace *
includes/Hooks.php:38:                      wfDieDebugBacktrace("Global hooks
array is not an array!\n");
includes/Hooks.php:47:                      wfDieDebugBacktrace("Hooks array for
event '$event' is not an array!\n");
wfDieDebugBacktrace("Empty array in hooks for " . $event . "\n");
wfDieDebugBacktrace("Unknown datatype in hooks for " . $event . "\n");
includes/Hooks.php:93:                              wfDieDebugBacktrace("Unknown
datatype in hooks for " . $event . "\n");

... and it's not part of PHP:
Comment 1 Brion Vibber 2005-10-12 01:42:40 UTC
Should be wfDebugDieBacktrace, no?
Comment 2 Nick Jenkins 2005-10-12 02:21:42 UTC
Yes. A s/wfDieDebugBacktrace/wfDebugDieBacktrace/ now prints "-1" on hitting
this function. That doesn't help me very much, but it's a whole lot better than
a PHP "Call to undefined function" error.
Comment 3 Brion Vibber 2005-10-12 06:34:18 UTC
Typo fix applied to HEAD and REL1_5.

Note You need to log in before you can comment on or make changes to this bug.