Hello i seem to have these errors showing up about 8 or 9 times a minute on my watchdog. I thought it was an OG problem but it seems to be with other things too.

Notice: Undefined index: entity_from_field:og_user_node-node-node in ctools_entity_from_field_get_child() (line 24 of /home/onlineba/public_html/onlineplac.es/sites/all/modules/ctools/plugins/relationships/entity_from_field.inc).

and also

Notice: Undefined index: entity_from_field:taxonomy_vocabulary_162-node-taxonomy_term in ctools_entity_from_field_get_child() (line 24 of /home/onlineba/public_html/onlineplac.es/sites/all/modules/ctools/plugins/relationships/entity_from_field.inc).

I think this could be why im getting a wsod on a lot of my pages. I wouldnt even know where to begin debugging this but if anyone could help i'll give it a go.

thanks

CommentFileSizeAuthor
#8 ctools-php-7.3-compliant.patch1.12 KBvuil

Comments

fadgadget’s picture

lines 22-25 of the file are

function ctools_entity_from_field_get_child($plugin, $parent, $child) {
  $plugins = ctools_entity_from_field_get_children($plugin, $parent);
  return $plugins[$parent . ':' . $child];
}

The referrer seems to be mostly but not exclusively

Location http://onlineplac.es/chat (not this specifically any old post)
Referrer http://onlineplac.es/comment/32197 (not this specifically any old comment)

fromthe comments. Anyone have any ideas what i could do to locate the exact problem? ITs probably some old stuff left over in the db no?

thanks

fadgadget’s picture

http://drupal.org/node/1792662

possibly i will need to rebuild my panels relationships. Alo the taxonomy ones too. i will go have a fiddle.

fadgadget’s picture

mmmm not panels. Ive turned off panels for my nodes and the error still appears. ( should have disabled not deleted the panel blast)

I have also applied the patch on the end of this issue
http://drupal.org/node/1292098

still the error message keep on coming

php 14 May 2013 - 05:16 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:15 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:15 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:14 Notice: Undefined index: entity_from_field:og_user... The Cosmic Nanny
php 14 May 2013 - 05:13 Notice: Undefined index: entity_from_field:og_user... The Cosmic Nanny
php 14 May 2013 - 05:13 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:13 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:12 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:11 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:10 Notice: Undefined index: entity_from_field:og_user... anon (not verified)
php 14 May 2013 - 05:10 Notice: Undefined index: entity_from_field:og_user... anon (not verified)

dvandusen’s picture

Issue summary: View changes

See also:

These seem to be related problems.

https://drupal.org/node/2049407 - Undefined index: entity_from_field ... in ctools_entity_from_field_get_child()
https://drupal.org/node/1434526 - Undefined index: entity_from_field:group_audience-node-group

vuil’s picture

vuil’s picture

vuil’s picture

Version: 7.x-1.3 » 7.x-1.x-dev

We have the same issue after Drupal core update from 7.69 to 7.70 version.

We've got the following error:

Notice: Undefined index: entity_from_field:field_article_parent-node-node in ctools_entity_from_field_get_child() (line 24 of /var/www/html/web/sites/all/modules/contrib/ctools/plugins/relationships/entity_from_field.inc).
vuil’s picture

Status: Active » Needs review
StatusFileSize
new1.12 KB

I already resolved the issue with the new D7 core update (7.70 to 7.72) and the following patch,
but the patch has to be reworked - to update the paths only.

mustanggb’s picture

Category: Support request » Feature request

A feature request to support newer version of PHP I suspect from looking at the patch.

joelpittet’s picture

Title: Notice: Undefined index: entity_from » Notice: Undefined index: entity_from_field
joelpittet’s picture

Status: Needs review » Closed (duplicate)

This looks to be fixed already, I'm closing the issue, feel free to let me know otherwise

vuil’s picture

Status: Closed (duplicate) » Needs work
Issue tags: +Needs reroll

The issue still exists and the patch of #8 needs re-roll. I tested it on D7.78 core version.