The current version of the module was generating the following errors when using PHP 7.1:

[] operator not supported for strings in always_visible_translated_menu_link_alter() (line 45 of sites/default/modules/contrib/always_visible/always_visible.module)

The function always_visible_translated_menu_link_alter uses a deprecated method of creating an array from a string.

Comments

wylbur created an issue. See original summary.

wylbur’s picture

Here's a patch that resolved the php errors by declaring the array before adding a string.

wylbur’s picture

Issue summary: View changes