Hi, fab module which has been working perfectly on Drupal 7.38 till I enabled commenting on some nodes.
Now we get the error below when trying to edit or delete a comment:
(eg comment/1/delete and comment/1/edit) whereas reply is ok (eg comment/reply/3/1).

Notice: Undefined index: field_name in themekey_node_nid2field_value() (line 549 of ***/sites/all/modules/themekey/modules/themekey.node.inc).
Notice: Undefined index: column in themekey_node_nid2field_value() (line 549 of ***/sites/all/modules/themekey/modules/themekey.node.inc).
EntityFieldQueryException: Field storage engine not found. in EntityFieldQuery->queryCallback() (line 1228 of ***/includes/entity.inc).

Disabling Themekey module solved issue.

Many thanks

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kiteglinton created an issue. See original summary.

mkalkbrenner’s picture

We need a screenshot of your rule chain to debug the issue.

kiteglinton’s picture

FileSize
442.75 KB

Thanks for this, screen dump attached,

erixooon’s picture

Hi,
Have you solved it somehow?
I am getting the very same error even if all the rules are disabled.

Thanks

erixooon’s picture

Version: 7.x-3.3 » 7.x-3.4
FileSize
16.27 KB

Changing the version to 7.x-3.4 and adding my ThemeKey rule chain.

kiteglinton’s picture

Hi erixooon; don't like doing it but my fix was a code tweak line 545 ish of themekey.node.inc in themekey/modules

function themekey_node_nid2field_value($nid, $args) {

+ if(!isset($args['field_name'])) return NULL; //

kbaringer’s picture

I needed this for a project so wanted to make sure that it's moving toward inclusion in the next release. Here is a patch with the fix provided by kiteglinton in #6.