- Issue created by @Mohan141
The website encountered an unexpected error. Please try again later.
Drupal\Core\Entity\EntityMalformedException: Saving the configuration entity with ID field.storage.media.field_media_audio_file generated an exception: 'Exception thrown while performing a schema update. SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'media__field_media_audio_file' already exists: CREATE TABLE "media__field_media_audio_file" ( `bundle` VARCHAR(128) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` TINYINT NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` INT unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` INT unsigned NOT NULL COMMENT 'The entity revision id this data is attached to', `langcode` VARCHAR(32) CHARACTER SET ascii COLLATE ascii_general_ci NOT NULL DEFAULT '' COMMENT 'The language code for this data item.', `delta` INT unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `field_media_audio_file_target_id` INT unsigned NOT NULL COMMENT 'The ID of the file entity.', `field_media_audio_file_display` TINYINT unsigned NULL DEFAULT 1 COMMENT 'Flag to control whether this file should be displayed when viewing content.', `field_media_audio_file_description` TEXT NULL DEFAULT NULL COMMENT 'A description of the file.', PRIMARY KEY (`entity_id`, `deleted`, `delta`, `langcode`), INDEX `bundle` (`bundle`), INDEX `revision_id` (`revision_id`), INDEX `field_media_audio_file_target_id` (`field_media_audio_file_target_id`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Data storage for media field field_media_audio_file.'; Array ( ) ' in Drupal\Core\Config\Entity\ConfigEntityStorage->save() (line 259 of core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php).Drupal\Core\Config\Entity\ConfigEntityStorage->save() (Line: 339)
Drupal\Core\Entity\EntityBase->save() (Line: 608)
Drupal\Core\Config\Entity\ConfigEntityBase->save() (Line: 392)
Drupal\Core\Config\ConfigInstaller->createConfiguration() (Line: 263)
Drupal\Core\Config\ConfigInstaller->installOptionalConfig() (Line: 84)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installOptionalConfig() (Line: 1657)
install_install_profile() (Line: 700)
install_run_task() (Line: 571)
install_run_tasks() (Line: 119)
install_drupal() (Line: 48)
Active
3.1
Code