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.

Comments

Arto’s picture

Assigned: Unassigned » Arto
Status: Active » Fixed
Issue tags: +trace_hook

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().)

Arto’s picture

Title: Crash when page is not found » Call to undefined function trace_hook() (2)

Status: Fixed » Closed (fixed)
Issue tags: -trace_hook

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