InvalidArgumentException: $string ("") must be a string.

Created on 25 April 2023, over 1 year ago
Updated 22 June 2023, over 1 year ago

After updating the module to 8.x-1.13 version I was not able to configure any layout builder blocks those using links attribute.

We are getting this error: InvalidArgumentException: $string ("") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 132 of /var/www/build/docroot/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php).

Proposed resolution

Check if it's sting before making it translatable

Remaining tasks

Review and push

User interface changes

NA

API changes

NA

Data model changes

πŸ’¬ Support request
Status

Closed: outdated

Version

1.13

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024