Fatal error: Call to undefined function: l()
MrGeek - September 13, 2008 - 21:30
| Project: | Troll |
| Version: | 5.x-1.3 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I recently upgraded from D4.7 to 5.1. I've installed (and updated) the TROLL module, but now blocked IP's are seeing this error:
Fatal error: Call to undefined function: l() in /../sites/all/modules/troll/troll.module on line 72
If i disable the Drupal cache, it seems to work fine.
???

#1
after reading thru the older requests i found that by removing this line:
watchdog('troll', 'IP Ban: '. $_SERVER['REMOTE_ADDR'], l(t('administer'), 'admin/settings/troll/ip_ban/'), WATCHDOG_NOTICE);the error goes away - but now i get no watchdog notices.. I also read that this was fixed a long time ago - so i'm confused why it's happening?
#2
Are you using 'normal' cache mode or 'aggressive'?
#3
"normal"
#4
is this a PHP5 thing?
#5
Ok this was a problem with the code in HEAD not picking up a change that
was made in the DRUPAL-5 branch. I've reverted the code to remove the
call to the Drupal l() function.
See #64856: banned user sees "Fatal error:..." instead of "Access Denied" for details