- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
Since I am having too many issues with this module, I once again disabled, uninstalled and deleted from database.
Sooo... everything should be good... right? Wrong =\
When I go to create/add a membership type product, the "License Duration" field still shows up (see attached images) .... and when I save (just to see if it would), it gives me this error below. In addition to, when I try to edit or delete the field, it says it is locked (see image).
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'dbxxxx.xxxfield_data_commerce_license_duration' doesn't exist: INSERT INTO {field_data_commerce_license_duration} (entity_type, entity_id, revision_id, bundle, delta, language, commerce_license_duration_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6); Array ( [:db_insert_placeholder_0] => commerce_product [:db_insert_placeholder_1] => 3 [:db_insert_placeholder_2] => 3 [:db_insert_placeholder_3] => membership_entity_product [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => und [:db_insert_placeholder_6] => 1 ) in field_sql_storage_field_storage_write() (line 494 of /modules/field/modules/field_sql_storage/field_sql_storage.module).
Backtrace:
PDOStatement->execute(Array) database.inc:2171
DatabaseStatementBase->execute(Array, Array) database.inc:683
DatabaseConnection->query('INSERT INTO {field_data_commerce_license_duration} (entity_type, entity_id, revision_id, bundle, delta, language, commerce_license_duration_value) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6)', Array, Array) query.inc:36
InsertQuery_mysql->execute() field_sql_storage.module:494
field_sql_storage_field_storage_write('commerce_product', Object, 'insert', Array)
call_user_func_array('field_sql_storage_field_storage_write', Array) module.inc:866
module_invoke('field_sql_storage', 'field_storage_write', 'commerce_product', Object, 'insert', Array) field.attach.inc:967
field_attach_insert('commerce_product', Object) commerce.controller.inc:94
DrupalCommerceEntityController->invoke('insert', Object) commerce.controller.inc:244
DrupalCommerceEntityController->save(Object, NULL) commerce_product.controller.inc:119
CommerceProductEntityController->save(Object) commerce_product.module:496
commerce_product_save(Object) commerce_product.forms.inc:204
commerce_product_product_form_submit(Array, Array) form.inc:1513
form_execute_handlers('submit', Array, Array) form.inc:903
drupal_process_form('commerce_product_ui_product_form', Array, Array) form.inc:385
drupal_build_form('commerce_product_ui_product_form', Array) form.inc:130
drupal_get_form('commerce_product_ui_product_form', Object) commerce_product_ui.products.inc:66
commerce_product_ui_product_form_wrapper(Object)
call_user_func_array('commerce_product_ui_product_form_wrapper', Array) menu.inc:517
menu_execute_active_handler() index.php:21
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.