The error in the log is this:

Error: [] operator not supported for strings in _views_slideshow_preprocess_views_slideshow() (line 143 of /{path_to_site}/sites/all/modules/contrib/views_slideshow/theme/views_slideshow.theme.inc).

If you look at the PHP documentation on array assignments, it says this:

Note: As of PHP 7.1.0, applying the empty index operator on a string throws a fatal error. Formerly, the string was silently converted to an array.

Put another way, you can look at the "backwards incompatibility" page of the release notes.

The empty index operator is not supported for strings anymore
Applying the empty index operator to a string (e.g. $str[] = $x) throws a fatal error instead of converting silently to array.

So you have to set arrays to be arrays, not assume they'll be converted silently into arrays when they're needed for that.

I'll upload a patch shortly that fixes this.

Comments

JamesOakley created an issue. See original summary.

jamesoakley’s picture

Status: Active » Needs review
StatusFileSize
new550 bytes

See attached patch

nickdickinsonwilde’s picture

Applied, thanks. Should have thought to check this for 7x; fixed equivalent issues in 8x.

nickdickinsonwilde’s picture

Status: Needs review » Fixed
alexpott’s picture

Issue tags: -php7.1 +PHP 7.1

Status: Fixed » Closed (fixed)

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