I'm executing a migration of nodes and users (using the Migrate Module) and I'm seeing the following error:
WD node: PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal_db.term_node' doesn't exist: SELECT COUNT(n.nid) AS term_count
FROM
{term_node} tn
INNER JOIN {node} n ON n.nid = tn.nid AND n.status = 1
WHERE (tid = :db_condition_placeholder_0) ; Array
(
[:db_condition_placeholder_0] => 5
)
in _taxonomy_menu_term_count() (line 157 of ~/public_html/sites/all/modules/taxonomy_menu/taxonomy_menu.database.inc).
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupal_db.term_node' doesn't exist: SELECT COUNT(n.nid) AS term_count [error]
FROM
{term_node} tn
INNER JOIN {node} n ON n.nid = tn.nid AND n.status = 1
WHERE (tid = :db_condition_placeholder_0) ; Array
(
[:db_condition_placeholder_0] => 5
)
(~public_html/sites/all/modules/taxonomy_menu/taxonomy_menu.database.inc:157)
Comments
Comment #1
zabelc commentedNo idea if this is what's intended by the function but this appears to make keep my migration from failing:
Comment #2
dstolThis broke as a result of... http://drupalcode.org/project/taxonomy_menu.git/commitdiff/09e7d88
#1192084: New options with nodes and expand
Fixed with http://drupalcode.org/project/taxonomy_menu.git/commit/6786a71
Sorry about that.