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.
Problem/Motivation
Follow-up to #2306193: Error on deleting post. I'm running 7.x-3.22 and also migrating content from D6. This happens on rollback of the migration.
Notice: Undefined index: und in commons_radioactivity_groups_node_delete() (line 46 of profiles/commons/modules/commons/commons_radioactivity/commons_radioactivity_groups/commons_radioactivity_groups.module).
Proposed resolution
Not sure if a simple isset() or !empty() check is in order here or if this is an indication of a deeper problem.
Remaining tasks
Fix the problem.
User interface changes
n/a
API changes
n/a
Comments
Comment #1
h1nds1ght CreditAttribution: h1nds1ght commentedI am on commons 3.23 and get the same notice, when deleting group-nodes from the front-page or inside the groups itself. Sometimes (not sure when) this also causes that all nodes of the group, from which the node is deleted on the front-page, dissappear until I refresh the front-page...
Comment #2
rosemeria CreditAttribution: rosemeria as a volunteer commentedPatch found at Notice: Undefined index: und in commons_radioactivity_groups_node_delete() cleared this up. Please confirm that patch clears up error for you. Using Commons 7.x-3.31
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedClosing as a duplicate of #2502835: Notice: Undefined index: und in commons_radioactivity_groups_node_delete().