Hello,
I've got an error HTTP 500 (Internal Server Error) when trying to access relation edit page.
I found this error in the drupal log , the trouble seems to come from the entity module.
REFERENT :
.../admin/config/development/generate/relation
MESSAGE :
PDOException : SQLSTATE[42S22]: Column not found: 1054 Unknown column 'node_type' in 'where clause': SELECT comment.cid AS entity_id, :entity_type AS entity_type, NULL AS revision_id FROM {comment} comment WHERE (node_type IN (:db_condition_placeholder_0, :db_condition_placeholder_1)) LIMIT 20 OFFSET 0; Array ( [:db_condition_placeholder_0] => comment_node_author [:db_condition_placeholder_1] => comment_node_event [:entity_type] => comment ) dans EntityFieldQuery->execute() (ligne 1136 dans /home/www/sites/photographie.com/www/includes/entity.inc).
I'm using the last version of the entity module, 7.x-1.0-rc1 and relation 7.x-1.0-beta3.
Any idea to solve this ?
THanks
Comments
Comment #1
samw commentedApologies for the hijacking and commenting. I see that this is probably a duplicate of #1345320: AJAX error in autocomplete for taxonomy relations and therefore #1054162: Taxonomy bundles not supported by EntityFieldQuery (followup). Sorry!
I believe I'm having a similar problem but when using the Relation Add block. I'm using dev versions of both Relation and ctools.
It's present when I try to create a relation which specifies that the source bundle is a specific taxonomy vocabulary - in the error message below, from the vocabulary 'club', rather than when it's set as "All taxonomy term bundles".
The error below comes from the javascript popup message:
Is this a known problem and if so, is there a workaround other than just using all taxonomy vocabularies as bundles?
Thanks,
Sam
Comment #2
mikran commentedcan you re-test this now with the fixed EFQ?
Comment #3
mikran commentedComment #4
naught101 commentedClosing, since no new information has been added.