Curly Brackets throws PHP errors with PHP 7.4

Created on 23 March 2021, over 3 years ago
Updated 28 February 2023, almost 2 years ago

Problem/Motivation

After switching to PHP 7.4, the following errors are generated:

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/sites/default/modules/signaturefield/signaturefield.module on line 115

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/sites/default/modules/signaturefield/signaturefield.module on line 116

Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/sites/default/modules/signaturefield/signaturefield.module on line 117

Proposed resolution

Applying the following patch resolved the errors.

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wylbur Minneapolis, Minnesota, USA

Live updates comments and jobs are added and updated live.
  • PHP 7.4

    The issue particularly affects sites running on PHP version 7.4.0 or later.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024