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.plugin IN (:db_condition_placeholder_0, :db_condition_placeholder_1, :db_condition_placeholder_2, :db_condition_placeholder_3, :db_condition_placeholder_4)) AND (base.access_exposed = :db_condition_placeholder_5) ; Array ( [:db_condition_placeholder_0] => or [:db_condition_placeholder_1] => and [:db_condition_placeholder_2] => action set [:db_condition_placeholder_3] => rule [:db_condition_placeholder_4] => rule set [:db_condition_placeholder_5] => 1 ) in EntityAPIController->query() (line 152 of /home/diamonds/public_html/d/sites/all/modules/entity/includes/entity.controller.inc)

I receive above error when I want to view the members list on clicking 'People' in Admin view.

CommentFileSizeAuthor
#3 ErrorMsg.JPG100.98 KBqsurti
#2 updphp.jpg125.73 KBSalif

Comments

marcingy’s picture

Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Please provide information on how to recreate this bug on a clean install of d7.

Salif’s picture

StatusFileSize
new125.73 KB

I have the same issue after update a bunch of modules (the last ctools and other) and trying to run update.php
I have also update to d7.14

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 /home/lecrocod/public_html/sites/all/modules/entity/includes/entity.controller.inc).

qsurti’s picture

StatusFileSize
new100.98 KB

I up dated few modules including cTools, Classified, entity, Drupal for Facebook, colorbox and updated the database as per the procedure. That is all I remember. Later I tried to check on number of members and I got the above error only on that page. Screen shot is attached.

Salif’s picture

I've solved this issue in this particular case, by :
1- disable the rules module at (www.exemple/admin/modules) or delete it from sites/all/ modules folder
2- Uninstall the module at (www.exemple/admin/modules/uninstall)
3- Clear cache, (www.exemple/admin/config/development/performance)
4- run the update script at (www.exemple/admin/modules)
5- And reinstall the module as you did before
It sould be the same for any other module. You can find your concerned module in the error message. In the cases above it is there in the : ...FROM { rules_config }
Make sure to consider the "required by" modules when disabling a module. And reenable them after fixing the issue.

dddave’s picture

Status: Postponed (maintainer needs more info) » Fixed

"Time" seems to have fixed this. Closing old, stale issues. If the issue still persists feel free to re-open.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.