Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When you try to install the module without having taxonomy module enabled, you get the following error:
WD php: PDOException: SQLSTATE[42S02]: Base table or view not found: [error]
1146 Table 'taxonomy_term_data' doesn't exist: INSERT
INTO {forward_statistics} (bundle, id, type) SELECT v.machine_name AS
bundle, t.tid AS id, 'taxonomy_term' AS type
FROM
{taxonomy_term_data} t
INNER JOIN {taxonomy_vocabulary} v ON t.vid = v.vid; Array
(
)
in forward_install() (line 45 of
/.../sites/all/modules/contrib/forward/forward.install).
Cannot modify header information - headers already sent by (output [warning]
started at /.../drush/drush/includes/output.inc:38)
bootstrap.inc:1233
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'taxonomy_term_data' doesn't exist: INSERT INTO {forward_statistics} (bundle, id, type) SELECT v.machine_name AS bundle, t.tid AS id, 'taxonomy_term' AS type
FROM
{taxonomy_term_data} t
INNER JOIN {taxonomy_vocabulary} v ON t.vid = v.vid; Array
(
)
a forward_install() (línia 45 de /.../sites/all/modules/contrib/forward/forward.install).
Drush command terminated abnormally due to an unrecoverable error. [error]
Adding taxonomy as dependency solves the issue (not sure if is the best solution, but works)
Comment | File | Size | Author |
---|---|---|---|
forward-added-taxonomy-dependency.patch | 660 bytes | akalam | |
Comments
Comment #1
akalam CreditAttribution: akalam commentedComment #3
john.oltman CreditAttribution: john.oltman commented