Closed (duplicate)
Project:
Simplenews
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Oct 2011 at 18:30 UTC
Updated:
18 Dec 2011 at 12:41 UTC
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
Comment #1
berdirNope, this is just a sanity check done by token.module I guess. This shouldn't break anything,
Comment #2
flightrisk commentedI am getting the same thing. There is an error somewhere, does it need to be fixed here or in the token module?
Comment #3
Old Man commentedMe 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?
Comment #4
fndtn357 commentedIs it safe to disregard this warning message?
Comment #5
oadaeh commentedMarked #1355228: Getting status error missing tokens as a duplicate of this.
Comment #6
simon georges commentedClosing #1366648: In System Status report (under admin menu Reports) I get token message warning as a duplicate of this.
Comment #7
Road Runner commentedI 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.
Comment #8
berdirThe 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.
Comment #9
berdirClosing as a duplicate of #1229910: warning: attempting token replacement in simplenews, will be fixed there.