- Status changed to Closed: duplicate
almost 2 years ago 6:29pm 7 February 2023 - πΊπΈUnited States AaronBauman Philadelphia
closing as duplicate of π Error while field storage definition RTBC
I am using Drupal 9.5.0, PHP 8.1, MariaDB 10.3
Errors reported whilst enabling module indicate that the following fields cannot be created:
drush en contact_storage
[error] An error occurred while notifying the creation of the id field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.id': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the created field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.created': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the uid field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.uid': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[error] An error occurred while notifying the creation of the ip_address field storage definition: "Exception thrown while performing a schema update. Cannot add field 'contact_message.ip_address': table doesn't exist." in Drupal\Core\Entity\Sql\SqlContentEntityStorage->wrapSchemaException() (line 1594 of /web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
[success] Successfully enabled: contact_storage
composer require 'drupal/contact_storage:^1.3'
drush en contact_storage
This is probably unrelated but when I uninstalled the module the contact_message table in the database was not removed.
Closed: duplicate
1.3
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
closing as duplicate of π Error while field storage definition RTBC