As per the following http://drupal.org/node/1265848#comment-4941226, reporting here:

Getting the following error on the Status Report:

Tokens Problems detected

The following tokens or token types are missing required name and description information:

$info['types']['simplenews-subscriber']
$info['types']['simplenews-newsletter']
$info['types']['simplenews-category']

I attempted to search the files for where these are implemented, but failed to do so. I'm afraid this is conflicting with stuff I'm trying to do, such as even test-sending newsletters.

Comments

berdir’s picture

Nope, this is just a sanity check done by token.module I guess. This shouldn't break anything,

flightrisk’s picture

I am getting the same thing. There is an error somewhere, does it need to be fixed here or in the token module?

Old Man’s picture

Me too. Everything seems to be working, but I don't like the constant nagging warning messages. Anyone know how to clear these messages, fix the broken tokens?

fndtn357’s picture

Is it safe to disregard this warning message?

The following tokens or token types are missing required name and description information:

$info['types']['simplenews-subscriber']
$info['types']['simplenews-newsletter']
$info['types']['simplenews-category']
oadaeh’s picture

simon georges’s picture

Road Runner’s picture

I have exact same problem - warnings show up in System Status report (the only place I have seen it). I can say it doesn't seem to interfere with operations in any obvious way. I mail about 18,000 emails using this and it works.
I do get some warnings in the wywtme log that look like this just prior to an email going out

Notice: Undefined index: #label_display in template_preprocess_simplenews_field() (line 2886 of /home/kitchena/public_html/sites/all/modules/simplenews/simplenews.module).
and
Notice: Undefined index: 358 in simplenews_admin_issues() (line 190 of /home/kitchena/public_html/sites/all/modules/simplenews/includes/simplenews.admin.inc).

actually I get a fe of these with the part following undefined index changing. Not sure it is related but thought I should mention it.

berdir’s picture

The only thing this warning says is that there are no descriptions to explain users what these tokens are. It has no impact at all regards to the functionality. It should be fixed nevertheless, of course.

An issue already exists for the noticed and I think I know why these happen. The other one is new and you should open a new issue for that one.

berdir’s picture

Status: Active » Closed (duplicate)

Closing as a duplicate of #1229910: warning: attempting token replacement in simplenews, will be fixed there.