PHPCompatibility 7.4 : Array and string offset access syntax with curly braces is deprecated in PHP 7.4. Use square brackets instead.

Created on 9 June 2021, over 3 years ago
Updated 19 October 2023, about 1 year ago

Problem/Motivation

A PHP-7.4 notice deprecation:-

FILE: ..\oauth\lib\OAuth.php

--------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------------------
 114 | WARNING | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found:
     |         |     $built{$i}
 114 | WARNING | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found:
     |         |     $signature{$i}
--------------------------------------------------------------------------------------------------------------------------------------

Steps to reproduce

Switch to php7.4, check logs

Proposed resolution

I would suggest to apply a patch

🐛 Bug report
Status

Closed: duplicate

Version

3.4

Component

Code

Created by

🇮🇳India RajatC

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