You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @PaoloScuttiWZ ,
I just did this:
`
$field_storage = \Drupal::entityTypeManager()->getStorage('field_storage_config')->load('node.oe_social_media_links');
if ($field_storage) {
}`
You can do early return, I suppose. I am just not sure what you're supposed to return on void. Doesn't look logical to me.
Hi there,
Some websites may not have
node.oe_social_media_links
config file but they can have different config likeparagraph.oe_social_media_links
In this case :
$field_storage->get('settings');
will fail because it cannot find the config object.
Source:
oe_content/modules/oe_content_social_media_links_field/oe_content_social_media_links_field.post_update.php
Line 30 in 59c42d6
Can you please fix it or advise on how to handle breaking update?
Regards
The text was updated successfully, but these errors were encountered: