Open dsnopek opened 6 years ago
Thats odd, each of the Gravatar services have a label. Issue not reproducible.
Next time it happens, check each entry of $definitions
for an item without a 'label' key.
Could be a bug in avatars_gravatar
$definitions:
array (
'avatars_entity_field' =>
array (
'files' => true,
'id' => 'avatars_entity_field',
'label' =>
Drupal\Core\StringTranslation\TranslatableMarkup::__set_state(array(
'translatedMarkup' => NULL,
'options' =>
array (
),
'stringTranslation' => NULL,
'string' => 'Copy uploaded image',
'arguments' =>
array (
),
)),
'description' =>
Drupal\Core\StringTranslation\TranslatableMarkup::__set_state(array(
'translatedMarkup' => NULL,
'options' =>
array (
),
'stringTranslation' => NULL,
'string' => 'Copies an image uploaded to the entity.',
'arguments' =>
array (
),
)),
'class' => 'Drupal\\avatars\\Plugin\\Avatars\\Service\\AvatarKitEntityField',
'provider' => 'avatars',
),
'avatars_ak_common:gravatar_identicon' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
'avatars_ak_common:gravatar_monster' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
'avatars_ak_common:gravatar_mystery_man' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
'avatars_ak_common:gravatar_retro' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
'avatars_ak_common:gravatar_universal' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
'avatars_ak_common:gravatar_wavatar' =>
array (
'class' => 'Drupal\\avatars_gravatar\\Plugin\\Avatars\\Service\\Gravatar',
'config_dependencies' =>
array (
'module' =>
array (
0 => 'avatars_gravatar',
),
),
),
)
After installing avatars_gravatar (manually working around the composer issue here https://github.com/dpi/avatars_gravatar/issues/1), I get this error when clicking the "Add Service" button: