Call to undefined drupal_get_path_alias() when logging out

Benjamin Melançon - November 19, 2007 - 10:45
Project:Trace
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:won't fix
Issue tags:drupal_get_path_alias
Description

Fatal error: Call to undefined function drupal_get_path_alias() in /var/www/d53/sites/all/modules/trace/trace.module on line 153

#1

Benjamin Melançon - November 19, 2007 - 10:57
Category:bug report» support request

OK, this is extremely weird. The function in question is perfectly valid: http://api.drupal.org/api/function/drupal_get_path_alias/5

And I get this error if I go to http://dev.wsf2008.net/ as an anonymous user but not when logged in (as user 1 anyway).

But I do not get the error if I go to http://dev.wsf2008.net/home (which is the same page).

Contemporaneous weirdness: I also got an undefined error on "trace_backtrace()" that I put into cache.inc, until I removed it, although it had been working fine minutes previously.

Insights?

#2

Benjamin Melançon - November 19, 2007 - 11:22
Category:support request» bug report

Moving this back to a bug.

Turning off error tracing -- it was set to "Errors (E_RECOVERABLE_ERROR, E_USER_ERROR)
Warnings (E_WARNING, E_USER_WARNING)" -- resolved the problem though.

Our site has locale enabled, i18n installed, as possible complicators.

#3

Arto - September 18, 2009 - 16:16
Title:call to undefined drupal_get_path_alias by trace when logging out» Call to undefined drupal_get_path_alias() when logging out
Status:active» won't fix

I don't think I ever managed to reproduce this. A fix (and more maintainers) to the 5.x branch are certainly welcome, though.

(A similar issue was mentioned in #141328: Drupal 5.x branch.)

 
 

Drupal is a registered trademark of Dries Buytaert.