Closed (fixed)
Project:
Classified Ads
Version:
7.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2011 at 22:49 UTC
Updated:
9 Jan 2012 at 15:20 UTC
I find this error when accessing the module from the frontpage:
EntityFieldQueryException: Campo desconocido: classified_category en EntityFieldQuery->addFieldCondition()
Anyone knows what is happening?
Comments
Comment #1
fgmNot sure since I do not speak what looks like italian, but it looks like something attempted to use classified_category as a field in an EFQ and that field was unknown. However, Classified Ads does not define fields (only a field formatter and extra-fields).
"classified_category" is the default name of a taxonomy_term_reference field created during install to hold the ad category. Maybe you deleted that field and the module can no longer query on it ? Can you provide steps to reproduce the problem ? I just tried on a new -dev instance and could not reproduce it.
Comment #2
fgmI managed to reproduce the problem with the latest dev: it happens when one deletes the ad category field, which is owned by Classified Ads and should therefore not be removed.
You should therefore reinstall the module (and lose existing ads), or fix the data manually in your database.
The module can not "lock" the field because it would prevent adjusting its settings, until #806102: Locked fields can change the widget but not settings is fixed, so this is more of a documentation issue: doc has been fixed accordingly in 6.3 and 7.3.