Hi,
Just to inform that i get error 500 (only when looking on the debug of our browser) when trying to show the Token UI when we are using PHP 7.1.0 to our site.

When the issue happen, the token UI open but doesn't generate any content.

Reverting to PHP 7.0.14 fixes the issue.

Here is some more details:
Warning: Illegal string offset 'data' in _token_token_tree_format_row() (line 210 of /home/wagnards/public_html/sites/all/modules/token/token.pages.inc).
Warning: Illegal string offset 'class' in _token_token_tree_format_row() (line 211 of /home/wagnards/public_html/sites/all/modules/token/token.pages.inc).
Error: Cannot use string offset as an array in _token_token_tree_format_row() (line 211 of /home/wagnards/public_html/sites/all/modules/token/token.pages.inc).

Comments

Wagnard created an issue. See original summary.

Wagnard’s picture

Issue summary: View changes
Wagnard’s picture

Version: 7.x-1.x-dev » 7.x-1.6
berdir’s picture

Status: Active » Closed (duplicate)

Thanks for reporting, there's an existing issue that fixes this: #2825841: Error : Cannot use string offset as an array in _token_token_tree_format_row()