- πΊπΈUnited States smustgrave
Could the issue summary be updated for what's needed here? We looking to throw another exception if empty?
- π΅πΉPortugal adaragao
I'm getting a InvalidArgumentException: $string ("") must be a string. in Drupal\Core\StringTranslation\TranslatableMarkup->__construct() (line 132 of /opt/drupal/web/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php).
And I was hoping to go around it with patch #13, but it doesn't work on Drupal 10.3.2.
- π«π·France dqd London | N.Y.C | Paris | Hamburg | Berlin
Cannot access offset
can be symptom-ish forempty string
- however I wonder if this is related:Cannot access offset of type Drupal\Core\StringTranslation\TranslatableMarkup in isset or empty in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 45 of core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php
When trying to enter
admin/structure/types/manage/article/fields/add-field
Or if this would be another/new issue.