2

I keep getting this error when I try to update Drupal. I have no clue what it means; it seems I have a missing column.

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'base.access_exposed' in 'field list':
SELECT base.id AS id, base.name AS name, base.label AS label, base.plugin AS plugin, base.active AS active, base.weight AS weight, base.status AS status, base.dirty AS dirty, base.module AS module, base.access_exposed AS access_exposed, base.data AS data FROM {rules_config} 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 ) in EntityAPIController->query() (line 152 of /opt/readyby21.org/public_html/sites/all/modules/contrib/entity/includes/entity.controller.inc).

  • 1
    It looks like you've got a module that may not be updating correctly. Are you getting this message when you go to update.php, or all the time? Also, just to make sure, you're on Drupal 7, and not Drupal 8 or something like that? – Daniel Yule Jul 5 '12 at 17:49
  • I am on Drupal 7, I am only getting it when I go to update.php - when I go to default (index.php), I get a white screen, with nothing on it. – Jack Ryan Jul 5 '12 at 18:19
  • This drupal.org/node/158043 explains how to deal with a white screen of death. – BetaRide Jul 5 '12 at 21:02
1

According to http://drupal.org/node/1489394 some users experienced this problem when updating their rules module. It looks like you'll need to update your rules, entity and internationalization modules all need to be updated to the latest versions (7.x-1.5 for internationalization and 7.x-1.0-rc2 for entities). If you already have, try only updating those modules, before attempting to update the rules module (you can disable the rules module. This should also solve the problem, but I assume you're using it for something or other).

As BetaRide points out above, checking into your web logs may shed some additional light on the problem, in case the above doesn't solve the problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.