Hello,

When we are on the admin/config/search/metatag/... page, in the token window, there are meta values available.

If we use it like [current-page:metatag:description] , when we display a front office page, we have an error message because of a loop.

"The website encountered an unexpected error. Please try again later.
Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '256' frames in is_array() (line 31 of core\lib\Drupal\Component\Assertion\Inspector.php)."

I suggest you to check if they are used to alert user because I search an half day why I had this error message...

Thank you

Comments

selinav created an issue. See original summary.

damienmckenna’s picture

Yeah, there are definitely improvements that could be made there, including messages in the UI to not use those tokens like that.

damienmckenna’s picture

Assigned: selinav » Unassigned