Closed (won't fix)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2011 at 08:02 UTC
Updated:
19 Jun 2013 at 19:37 UTC
I get the following notices on this page "admin/structure/pages/nojs/operation/node_view/handlers/node_view_panel_context_2/context"
I'm using the current OG and Panels Dev's
Notice: Undefined index: image in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: image in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: audio in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: audio in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: video in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: video in ctools_entity_from_field_get_children() (line 49 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\plugins\relationships\entity_from_field.inc).
Notice: Undefined index: argument_nid_1 in theme_ctools_context_list() (line 224 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\includes\context.theme.inc).
Notice: Undefined index: relationship_og_group_from_node_1 in theme_ctools_context_list() (line 230 of C:\xampp\htdocs\drupal7beta2\sites\all\modules\ctools\includes\context.theme.inc).
Comments
Comment #1
Jarek_Sz commentedHello,
I don't use the OG, but I have the same error
Comment #2
merlinofchaos commentedHmm. Can you give us instructions on replicating this?
I suspect this may happen when a relationship doesn't come up with a context or doesn't properly have a context input? (i.e, an optional context, maybe) -- perhaps it's not properly guarding to make sure the input is valid. Hard to tell for sure without understanding how you make htis happen.
Comment #3
merlinofchaos commentedComment #4
bryancasler commentedLet me know if this screenshot helps.
http://awesomescreenshot.com/01e8zxz78
Comment #5
eclipsegc commentedAnimelion:
Are you using features? does this:
http://drupal.org/node/1078086#comment-4175754
describe something similar to how you're working?
Thanks!
Eclipse
Comment #6
bryancasler commentedI used features only once to try "OG example" that comes with the OG module. Think that's the culprit?
Comment #7
eclipsegc commentedI think that it's quite possible depending upon your setup. I'm going to try to replicate some of these errors and get some specific checks in for this situation. The fear is that other methodologies could cause this as well, so we just need a generic fix.
Comment #8
pillarsdotnet commentedFix for og_context posted in #1241046-2: Fix errors in og_context plugin
Comment #9
esmerel commentedI'll mark this 'won't fix' based on a fix being in og_context. If this is wrong, someone can correct me.
Comment #10
jhodgdonJust a note... That last error in the list above is a duplicate of several other issues, which I'm about to consolidate into one by marking them as duplicates too:
#1257336: term from user relationship throws notice: undefined index
#1633452: Notice: Undefined index: relationship_entity_from_schema:uid-user-node_1
#1368870: Notice: Undefined index: context_entity:node_id in theme_ctools_context_list() (line 224 of
Comment #11
jhodgdonI decided to keep #1633452: Notice: Undefined index: relationship_entity_from_schema:uid-user-node_1 as the open issue and marked the others as duplicates.