PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '))' at line 2: 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, base.language AS language, base.i18n_tsid AS i18n_tsid, v.machine_name AS vocabulary_machine_name FROM {taxonomy_term_data} base INNER JOIN {taxonomy_vocabulary} v ON base.vid = v.vid WHERE (base.name LIKE :db_condition_placeholder_0 ESCAPE '\\') AND (base.vid IN ()) ; Array ( [:db_condition_placeholder_0] => Soups) EntityCacheControllerHelper::entityCacheLoad() function (...sites/all/modules/entitycache/entitycache.module 95 linfe).
I am getting this error for a content type that has a multilingual taxonomy with i18n_taxonomy enabled

After disabling entitycache I am getting this #1161488: DrupalDefaultEntityController->load() error in /var/www/html/drupal/includes/entity.inc

Comments

giorgio79’s picture

Status: Active » Closed (fixed)

My taxonomy reference became corrupted with the wrong vocab.

forestgardener’s picture

Mine too. Thanks for sharing your solution. It has saved me a lot of time, and now I can sleep.

forestgardener’s picture

Issue summary: View changes

srgsrgsrd