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.
When a taxonomy term reference field is used as a visibility rule, the following error is shown on the admin page:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in check_plain() (line 1569 of includes/bootstrap.inc).
This is because it does not collapse the term array prior to passing it into the t() function.
Comment | File | Size | Author |
---|---|---|---|
#1 | ctools-n2280905-1.patch | 612 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaThis checks the value and, if an array is found, it collapses the array and uses " or " as the separator.
Comment #4
petermallett CreditAttribution: petermallett commentedPulled this up to attempt a re-roll, but it looks like this issue has been fixed in a different way in https://www.drupal.org/node/1630820
Comment #5
Chris Matthews CreditAttribution: Chris Matthews as a volunteer commentedFixed in #1630820: entity_field_value is completely broken
Comment #6
joelpittet