The empty table value is not correct resulting in 2 PHP warnings

Warning: strpos() expects parameter 1 to be string, object given in Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() (line 347 of core/lib/Drupal/Component/Utility/UrlHelper.php).

Warning: htmlspecialchars() expects parameter 1 to be string, object given in Drupal\Component\Utility\Html::escape() (line 421 of core/lib/Drupal/Component/Utility/Html.php).

This is happening becuase a Url object is being passed as the value of the :link placeholder in src/Form/OverviewTerms.php but the value must be a string.

CommentFileSizeAuthor
#3 2853315-1.patch548 bytespwolanin
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

pwolanin created an issue. See original summary.

pwolanin’s picture

Title: PHP notices on /admin/structure/config-terms/manage/VOCAB/overview » PHP warnings on /admin/structure/config-terms/manage/VOCAB/overview
Issue summary: View changes
pwolanin’s picture

Status: Active » Needs review
FileSize
548 bytes

simple fix

  • jludwig committed f87b856 on 8.x-1.x
    Issue #2853315 by pwolanin: Fixes PHP warnings on terms by vocab page by...
jludwig’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.