0
当我创建了一个形象的内容类型和添加内容,出现此错误:PDOException错误 - Drupal的7
DOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.12' in 'where clause': SELECT base.tid AS tid, base.vid AS vid, base.name AS name, base.description AS description, base.format AS format, base.weight AS weight, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.12 = :db_condition_placeholder_0) ; Array ([:db_condition_placeholder_0] => 12) in DrupalDefaultEntityController->load() (line 196 of /Users/httdocs/includes/entity.inc).
但我不使用分类术语,词汇等...我怎么能修理它?
'#1064 - 你必须在你的错误SQL语法;检查与您的MySQL服务器版本相对应的手册,以在':db_condition_placeholder_0'附近使用正确的语法。LIMIT 0,30'在第1行' –
我不知道drupal ...但是psql查询在where条件处有错误。 ..在哪里条件像WHERE(base.name = v.machine_name) – Daya