Call to undefined function trace_hook() (2)

mcload - February 8, 2009 - 02:24
Project:Trace
Version:6.x-1.0-alpha2
Component:Tracing - Hook invocations
Category:bug report
Priority:normal
Assigned:Arto
Status:closed
Issue tags:trace_hook
Description

When I try to view an unexisting page address with / at the end (like www.mysite.com/drupal/nonexistingpage/ ), Trace is crashing and giving the error message "Fatal error: Call to undefined function trace_hook() in C:\Project\drupal\sites\all\modules\trace\trace.module on line 124". It should give a 404 error. There is no problem, when the address does not have / at the end (like www.mysite.com/drupal/nonexistingpage ). Page gives 404 error as expected.

#1

Arto - September 18, 2009 - 15:45
Assigned to:Anonymous» Arto
Status:active» fixed

Not sure what was causing this, but the recent 6.x-1.0 release should fix it by always having that function available in all contexts where tracing could take place. (See also the duplicate #375063: Call to undefined function trace_hook().)

#2

Arto - September 18, 2009 - 15:47
Title:Crash when page is not found» Call to undefined function trace_hook() (2)

#3

System Message - October 2, 2009 - 15:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.