Just got this error:

-
EntityFieldQueryException: Unknown field: field_EXAMPLE in EntityFieldQuery->addFieldCondition() (line 770 of /DRUPAL7/includes/entity.inc).

by going to:

/eng/admin/reports/status/run-cron?destination=admin/config/search/xmlsitemap/custom

There's a bit of a thread about this here:

https://drupal.org/node/1788446

Comments

pjcdawkins’s picture

Does your field "field_EXAMPLE" still exist, or has it been deleted? Is it in use? Does it still exist in the {field_config} table?

mgifford’s picture

Not sure at this stage, sorry.

dddave’s picture

Title: EntityFieldQueryException: Unknown field: line 770 of entity.inc). » EntityFieldQueryException: Unknown field: line 770 of entity.inc
Version: 7.15 » 7.x-dev
Status: Active » Postponed (maintainer needs more info)

Is this still an issue with the latest D7? Some similar finds: http://drupal.org/search/site/EntityFieldQueryException%3A%20Unknown%20f...

mayur.pimple’s picture

Issue summary: View changes

1

pjcdawkins’s picture

Just to clarify, I've never had this issue: I got here via Bug Bingo. It looks like it just relates to contrib modules (xmlsitemap in the case of the OP), and possibly a problem caused by their install/uninstall process. Perhaps fixable by uninstalling and reinstalling the module. If there is any core issue it's probably #1199946: Disabled modules are broken beyond repair so the "disable" functionality needs to be removed.

This issue is probably a candidate for "cannot reproduce", unless @mgifford can provide steps to reproduce.

pjcdawkins’s picture

Issue summary: View changes

2

mgifford’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)