Hi,
I face an error when translating a Drupal 7 Commerce product display embedding a registration.
First, I have the following PHP notice when creating the translation :
Notice: Undefined property: stdClass::$nid in commerce_registration_form_alter() (line 484 of /var/www/vhosts/rallystory.com/httpdocs/_dp/sites/all/modules/commerce_registration/commerce_registration.module).
Then, I get the PDO Exception when trying to save the translation :
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'nid' cannot be null: INSERT INTO {commerce_registration_node_settings} (nid, settings) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1); Array ( [:db_insert_placeholder_0] => [:db_insert_placeholder_1] => a:1:{s:17:"hide_from_display";i:0;} ) in commerce_registration_node_settings_form_submit() (line 519 of /var/www/vhosts/rallystory.com/httpdocs/_dp/sites/all/modules/commerce_registration/commerce_registration.module).
Please advise
Closed: outdated
2.1
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.