After applying #3069919: minor module updates I get an error when editing a page:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.status' in 'field list': SELECT base.rid AS rid, base.hash AS hash, base.type AS type, base.uid AS uid, base.source AS source, base.source_options AS source_options, base.redirect AS redirect, base.redirect_options AS redirect_options, base.language AS language, base.status_code AS status_code, base.count AS count, base.access AS access, base.status AS status FROM {redirect} base WHERE (base.redirect = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => node/196 ) in DrupalDefaultEntityController->load() (regel 198 van /includes/entity.inc).
Looks like it's this issue: #2578019: PDOException: SQLSTATE[42S22]: Column not found -- unknown column 'base.status' in 'field list'
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | dvg-redirect_pdo_exception-3080522-5.patch | 1.2 KB | paulvandenburg |
Comments
Comment #2
kevin.- commentedComment #3
joshahubbers commentedIn the dvg_domain_prefix module we add a table prefix for the redirect table for each domain. Thus when we run a db update, the "status"-field is only added to the active domain.
We added an update hook to this module which adds the status-field to each domain-table.
Comment #4
joshahubbers commentedComment #5
paulvandenburg commentedSeems like a fine solution to me.
However I've changed 3 things:
Comment #6
joshahubbers commentedYes, editing is available again.
Comment #8
paulvandenburg commented