Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
received this error when going to the webform page i created:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'nid' in 'where clause': SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {webform_submissions} webform_submissions) subquery WHERE (nid = :db_condition_placeholder_0) AND (uid = :db_condition_placeholder_1) ; Array ( [:db_condition_placeholder_0] => 6 [:db_condition_placeholder_1] => 1 ) in webform_get_submission_count() (line 410 of /home/xxx/public_html/dev/sites/all/modules/webform-HEAD/includes/webform.submissions.inc).
Comments
Comment #1
quicksketchI'm no longer updating Webform to "chase" Drupal 7. If you can provide a patch I'd be happy to review it though.
Comment #2
quicksketchLooks like this is a duplicate of #881230: PDO exception due to calling countQuery too early..