I'm getting the following error when trying to update the database after updating this module to the latest dev version:

Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'protected_node_emails' in 'field list': SELECT protected_node_is_protected, protected_node_passwd, protected_node_passwd_changed, protected_node_show_title, protected_node_emails, protected_node_hint FROM {protected_nodes} WHERE nid = :nid; Array ( [:nid] => 10 ) in protected_node_load() (line 855 of /home/modctek2/public_html/drupal-7/sites/hotchickdrinks.com/modules/protected_node/protected_node.module).

Additional

PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'protected_node_emails' in 'field list': SELECT protected_node_is_protected, protected_node_passwd, protected_node_passwd_changed, protected_node_show_title, protected_node_emails, protected_node_hint FROM {protected_nodes} WHERE nid = :nid; Array ( [:nid] => 10 ) in protected_node_load() (line 855 of /home/modctek2/public_html/drupal-7/sites/hotchickdrinks.com/modules/protected_node/protected_node.module).

Comments

izus’s picture

did you try to execute update.php ou drush updb ?
this is related with #1572036: Node emails not saved
the patch there adds the field for new installations and adds also a hook_update_n for already installed version. normally the update.php will make it for you?

izus’s picture

Status: Active » Postponed (maintainer needs more info)
izus’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

i tested and can't reproduce it.
i guess it's just because you forgot to run updates.
please feel free to reopen if the problem persists