Please note

on account setting page the following lines are repeated several time above the account setting area:

# Notice: Undefined variable: replacements in poll_tokens() (line 90 of /home/example/public_html/subdomain/modules/poll/poll.tokens.inc).
# Notice: Undefined variable: replacements in statistics_tokens() (line 62 of /home/example/public_html/subdomain/modules/statistics/statistics.tokens.inc).

I know it is in development, hope this might help.

Best wishes
Danish

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stBorchert’s picture

Status: Active » Needs review
FileSize
1.4 KB

Variable $replacements hasn't been definied in both implementations of hook_tokens.
The patch adds $replacements = array() to them.

harrisben’s picture

Status: Needs review » Reviewed & tested by the community

The errors no longer appear, thanks for the fix.

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks!

Status: Fixed » Closed (fixed)

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