DRUPAL 错误 PDOException: SQLSTATE[42S22]:

DRUPAL error PDOException: SQLSTATE[42S22]:

谁能帮我解决这个问题 处理异常时抛出其他未捕获的异常。 原来的 PDOException:SQLSTATE [42S22]:找不到列:1054“字段列表”中的未知列“base.owner”:SELECT base.id AS id,base.name AS name,base.label AS 标签,base.plugin AS 插件,base.active AS 活动,base.weight AS 权重,base.status AS 状态,base.dirty AS 脏,base.module 作为模块,base.owner 作为所有者,base.access_exposed 作为 access_exposed,base.data 作为来自 {rules_config} 基础的数据 WHERE (base.plugin = :db_condition_placeholder_0) AND (base.active = :db_condition_placeholder_1) ; EntityAPIController->query() 中的数组([:db_condition_placeholder_0] => 反应规则 [:db_condition_placeholder_1] => 1(/home/tjmcom/public_html/mydomain 的第 187 行。com/sites/all/modules/entity/includes/entity.controller.inc).

额外的 PDOException:SQLSTATE [42S22]:找不到列:1054“字段列表”中的未知列“base.owner”:SELECT base.id AS id,base.name AS name,base.label AS 标签,base.plugin AS 插件,base.active AS 活动,base.weight AS 权重,base.status AS 状态,base.dirty AS 脏,base.module 作为模块,base.owner 作为所有者,base.access_exposed 作为 access_exposed,base.data 作为来自 {rules_config} 基础的数据 WHERE (base.plugin = :db_condition_placeholder_0) AND (base.active = :db_condition_placeholder_1) ; EntityAPIController->query() 中的数组([:db_condition_placeholder_0] => 反应规则 [:db_condition_placeholder_1] => 1(/home/tjmcom/public_html/mydomain 的第 187 行。com/sites/all/modules/entity/includes/entity.controller.inc).

这听起来像是规则项目尚未完成更新的问题。将您的站点置于维护模式并转到 yoursite.com/update.php.

此问题记录在 https://www.drupal.org/project/rules/issues/2094879 中,评论 #45 给出了待办事项清单。如果这不起作用,请确认您确实在设置中使用规则,以及您使用的是什么版本 运行。

此外,如果您尝试了任何特定步骤来解决此问题均未成功并且问题仍然存在,请简要描述它们是什么。它会节省时间让你走上正确的道路,避免描述你已经尝试过的建议。 (您将在 https://whosebug.com/questions/how-to-ask 找到有关如何更快更好地获得答案的提示。)

欢迎使用 StackOver 流程​​。