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.
???
Comments
Comment #1
MrGeek commentedafter 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?
Comment #2
jaydub commentedAre you using 'normal' cache mode or 'aggressive'?
Comment #3
MrGeek commented"normal"
Comment #4
MrGeek commentedis this a PHP5 thing?
Comment #5
jaydub commentedOk 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
Comment #6
deekayen commented