Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
\Drupal\Component\Utility\Unicode::substr
uses $text[$bytes]
, which doesn't work with __toString()
objects.
Comments
Comment #12
quietone CreditAttribution: quietone as a volunteer commented\Drupal\Component\Utility\Unicode::substr was removed in #3091447: Remove Utility component BC layers, making this outdated.
Therefore, closing as outdated. If this is incorrect reopen the issue, by setting the status to 'Active', and add a comment explaining what still needs to be done.
Thanks!