Sure, no problem.
I am using MySQL version 8.0.33
Thank you for the response. I did the steps mentioned above and got the following error:
In ConfigImportCommands.php line 291:
The import failed due to the following reasons:
Unexpected error during import with operation create for field.storage.node.field_icon: Exception thrown while performing a schema update. SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSO
N column 'field_icon_value' can't have a default value: CREATE TABLE "node__field_icon" (
"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_icon_value" TEXT NOT NULL DEFAULT '',
"field_icon_classes" VARCHAR(255) NULL DEFAULT '',
"field_icon_decorative" TINYINT NULL DEFAULT 1,
"field_icon_arialabel" TEXT NULL DEFAULT '',
PRIMARY KEY ("entity_id", "deleted", "delta", "langcode"),
INDEX "bundle" ("bundle"),
INDEX "revision_id" ("revision_id")
) ENGINE = InnoDB DEFAULT CHARACTER SET utf8mb4 COMMENT 'Data storage for node field field_icon.'; Array
(
)
I am open to connect on Discord as well.
I have manually added field.storage.node.field_icon.yml file in web/core/profiles/standard/config/install but the error is still there.
Contents of field.storage.node.field_icon.yml file:
langcode: en
status: true
dependencies:
module:
- iconify_field
- node
id: node.field_icon
field_name: field_icon
entity_type: node
type: iconify_field_icon
settings: { }
module: iconify_field
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
Contributed modules:
address
ctools
devel
entity_reference_revisions
field_group
google_map_field
iconify_field
menu_bootstrap_icon
office_hours
paragraphs
paragraphs_bundles
pathauto
solo_utilities
token
webicons
Core modules
announcements_feed
automated_cron
ban
basic_auth
big_pipe
block
block_content
breakpoint
ckeditor5
comment
config
config_translation
contact
content_moderation
content_translation
contextual
datetime
datetime_range
dblog
dynamic_page_cache
editor
field
field_layout
field_ui
file
filter
help
history
image
inline_form_errors
jsonapi
language
layout_builder
layout_discovery
link
locale
media
media_library
menu_link_content
menu_ui
migrate
migrate_drupal
migrate_drupal_ui
mysql
navigation
node
options
page_cache
path
path_alias
pgsql
phpass
responsive_image
rest
sdc
search
serialization
settings_tray
shortcut
sqlite
syslog
system
taxonomy
telephone
text
toolbar
update
user
views
views_ui
workflows
workspaces
ckfspl → created an issue. See original summary → .
I am having the same issue in Drupal 11. In which directory the file field.storage.node_.field_icon.yml needs to be created?