Search blog

Monday, March 30, 2015

PDOException: SQLSTATE[42S22]: - ERROR

I got the error below while trying to migrate data from my remote host to local host in a multisite setup.

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column
 'base.owner' in 'field list' : SELECT AS id, AS name, 
base.label AS label, base.plugin AS plugin, AS active, 
base.weight AS weight, base.status AS status, base.dirty AS dirty, 
base.module AS module, base.owner AS owner, base.access_exposed AS 
access_exposed, AS data FROM {rules_config} base WHERE 
(base.plugin = :db_condition_placeholder_0) AND 
( = :db_condition_placeholder_1) ; Array 
( [:db_condition_placeholder_0] => reaction rule 
[:db_condition_placeholder_1] => 1 ) in EntityAPIController->query() 
(line 187 of ntity\includes\

The simplest way I could resolve this is using Drush to access update.php and update the contributed modules. Once I updated my site the problem resolved. Use the command below in your Drush CLI:

 drush updb  

No comments:

Post a Comment

Thank you for your Feedback!

Top 5 Posts (Weekly)