It looks like you cant use drupal_get_path() in hook exit... I have the following printed at the bottom of my page.
Fatal error: Call to undefined function drupal_get_path() in .../modules/contrib/clicktale/clicktale.module
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1115312-clicktale-hook-exit-fixes.patch | 2.35 KB | mrfelton |
Comments
Comment #1
mrfelton commentedSee http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hoo... for why.
See http://drupal.org/node/570060 for a similar issue in another module.
I think a patch like the one in http://drupal.org/node/570060#comment-2460850 would be best here.
Comment #2
mrfelton commentedAttached patch resolves the issue. I also had to make an alteration in clicktale.helpers.inc to callt get_t() so that t() can be used properly in hook_exit().
Comment #3
cableman0408 commentedThe patch have been add to the development branch :-)