When triying to upgrade DB or cleaning caché I obtain this error
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.enabled' in 'field list': SELECT base.discount_id AS discount_id, base.name AS name, base.label AS label, base.type AS type, base.enabled AS enabled, base.status AS status, base.module AS module, base.component_title AS component_title FROM {commerce_discount} base WHERE (base.status IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2)) ; Array ( [:db_condition_placeholder_0] => 3 [:db_condition_placeholder_1] => 2 [:db_condition_placeholder_2] => 6 ) en EntityAPIController->query() (línea 187 de /public_html/profiles/commerce_kickstart/modules/contrib/entity/includes/entity.controller.inc).
any idea?
I found a lot and differents "PDOException: SQLSTATE[42S22]:" in drupal forum but not same as me
see screenshot
Comment | File | Size | Author |
---|---|---|---|
PDOException- SQLSTATE[42S22]- Error | Teleinformat.com 2014-03-15 14-25-47.png | 391.35 KB | makokis |
Comments
Comment #1
makokis CreditAttribution: makokis commentedComment #2
makokis CreditAttribution: makokis commentedmisteriously it's solved, works fine again.
Comment #3
makokis CreditAttribution: makokis commentedthis issue comes again to me, when triying to clean the caches.
Before I've used a previous backup to restore my site and works fine. Than, when update to the new updates the problem reproduce.
Any idea to solve this?
Using Commerce Kickstart 2.13
Comment #4
bojanz CreditAttribution: bojanz commentedThis is a commerce_discount bug, tracked in #1854108: Refactor discount view filters and alter schema. Please comment there.
Comment #5
makokis CreditAttribution: makokis commentedI only solved this issue when install the l10n update 7.x-2.x-dev. version.
Comment #6
hairidine CreditAttribution: hairidine as a volunteer and commentedSQLSTATE[42S22]: Column not found: 1054 Unknown column 'm.celivery_callback' in 'field list'