Array and string offset access syntax with curly braces not supported

Created on 20 November 2023, 10 months ago

Problem/Motivation

There is a fatal PHP error that prevents the installation of the module

Steps to reproduce

Install simphtmldom module 7.x-1.12 and devel module. Test with PHP 8.1 and earlier PHP versions.

Proposed resolution

Change curly braces to square brackets on line 376 of the .module file.

Remaining tasks

Test with different Drupal 7.x and PHP 7- 8 versions.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom andrew.farquharson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024