For a few months I've been trying to figure out why my tokens were no longer there. Yesterday I installed a fresh copy of Drupal, when I enabled the module, all my tokens were gone, however I didn't realize it until this morning when I was trying to configure the messages that are sent when a user creates a new account. Went ahead and disabled it, everything is back to normal. I have minimal modules installed, does anyone know what it could be?

Comments

igalarza’s picture

It happens to me too. Any help?

This is showed in the logs when you load a page with a list of tokens and the module enabled:

Warning: Invalid argument supplied for foreach() en token_get_global_token_types() (línea 477 de /home/drupal7/public_html2b/sites/all/modules/token/token.module).

Regards

Vc Developer’s picture

Sub.....

igalarza’s picture

Solved updating to the dev version...

pukku’s picture

Status: Active » Fixed

If updating to the -dev version fixed it, it probably had to do with some page-walking code. I am about to release a new version which will remove a whole lot of code that was attempting to be smart, which should fix this problem once-and-for-all.

Status: Fixed » Closed (fixed)

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