Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After enabling latest 7.x-1.x-dev in latest drupal 7.x-dev I get this:
Notice: Undefined index: label in actions_actions_map() (line 219 of ../includes/actions.inc).
...when visiting the System -> Actions page (../admin/config/system/actions). The message repeats itself 3 times.
Comments
Comment #1
Dave ReidFixed in CVS with http://drupal.org/cvs?commit=424560. Thank you for reporting this issue!
Comment #3
CharlieCastle CreditAttribution: CharlieCastle commentedAs the message above says, this was fixed in September 2010.
BUT WHERE'S THE FIX?
I'm getting this message and my actions don't work.
How do I fix it?
Comment #4
Dave ReidIt was fixed because the token_actions module was removed from Token module since they duplicated Drupal 7 core actions. Make sure to use the proper procedure when updating a module to delete the old module's folder, then copy in the new version.
Comment #5
CharlieCastle CreditAttribution: CharlieCastle commentedThanks for the feedback.
I'm new to Drupal and started with D7.
AFAICS, I don't have a tokens module.
The nearest thing I have is Entity tokens 7.x-1.0-beta8.
Does Actions work w/o tokens or do I have to install the beta?
Anyway, I'm still getting the error message mentioned in this thread.
Thanks, CC
Comment #6
joschy3d CreditAttribution: joschy3d commentedsame here, new Drupal 7 installation and six times under actions:
Notice: Undefined index: label in actions_actions_map() (line 218 of /.../includes/actions.inc).
Comment #7
jeramy CreditAttribution: jeramy commentedI am still getting this same error: Undefined index: label in actions_actions_map()
I am running Token 7.x-1.0 supporting Pathauto 7.x-1.0.
I have completely removed Token and deleted its folder, then copied the new files in and cleared my caches.
I still get the error message listed six times when viewing admin/config/system/actions:
Notice: Undefined index: label in actions_actions_map() (line 221 of /includes/actions.inc).
and in my Error logs:
TYPE php
DATE Thursday, April 12, 2012 - 12:33
USER jeramy
LOCATION http://mysite.com/admin/config/system/actions?render=overlay
REFERRER http://mysite.com/
MESSAGE Notice: Undefined index: label in actions_actions_map() (line 221 of /includes/actions.inc).
SEVERITY notice
HOSTNAME me
OPERATIONS
Comment #8
Dave ReidPlease see #4.
Comment #9
jeramy CreditAttribution: jeramy commentedSorry Dave, I had assumed this was associated with Token based on the previous posts and that was incorrect.
There are some users seeing this same error message but it is evidently not related to the Token module, as I have completely removed it for testing.
For anyone else experiencing this issue there is a thread under Support > Post Installation:
http://drupal.org/node/1147984#comment-5878488
Thanks.
Comment #10
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedI have been getting this on my sites.
I noticed over time that there were more or fewer errors and different ones.
taking a look at devel and krumo and dpm'ing lines starting with 221 in actions.inc I see that the certain modules define actions that do don't define label, type, or configurable for whatever reason.
In my case the actions are:
Send SMS
Toggle a Custom Publishing Option off
Toggle a Custom Publishing Option on
Is there a way to check if these items are defined?
It would be great if every module developer put these items in, but many might not.
It would be helpful if Drupal did the right thing in this case
Comment #11
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedSince this is a core issue (and they might push back and say it's a module devleoper issue), I am changing the project.
It should be against the actions module, but I did not see it in the drop down.
Thanks!
Comment #12
Dave ReidNot really a core problem. This is a bug in whatever modules provide the actions indicated in #10.
Comment #13
Dave ReidPlease file issues with the following modules that they are missing 'label' defined in their hook_action_info() implementations:
http://drupal.org/project/issues/custom_pub
http://drupal.org/project/issues/smsframework