I have created a module that uses tokens in a block for certain nodes.
But I am running into some issues with tokens and it is really weird because everything works beautifully on staging.
But on production the tokens are not being returned at all both have the exact same revision of the site checked out. Same modules slightly different config but the performance settings are the same for both. This may be a bug but I'm not sure how to reproduce it. Module works okay on a vanilla install.
And this might be the wrong forum for this post so please forgive if it is it seemed the most appropriate at the time.
Basically doing something like this:
$node = menu_get_object();
Print token_replace('[node:field]', array('node' => $node));