PHP8.2 compatibility: Deprecated function: Creation of dynamic property TwittersOAuth::

Created on 25 March 2024, 8 months ago
Updated 26 March 2024, 8 months ago

Problem/Motivation

Deprecated function: Creation of dynamic property TwittersOAuth::$sha1_method is deprecated in TwittersOAuth->__construct() (line 356 of /modules/contrib/jquery_social_stream/jquery_social_stream.js.inc).
Deprecated function: Creation of dynamic property TwittersOAuth::$consumer is deprecated in TwittersOAuth->__construct() (line 357 of /modules/contrib/jquery_social_stream/jquery_social_stream.js.inc).
Deprecated function: Creation of dynamic property TwittersOAuth::$token is deprecated in TwittersOAuth->__construct() (line 359 of /modules/contrib/jquery_social_stream/jquery_social_stream.js.inc).
Deprecated function: Creation of dynamic property TwittersOAuth::$http_header is deprecated in TwittersOAuth->getHeader() (line 538 of /modules/contrib/jquery_social_stream/jquery_social_stream.js.inc).

Proposed resolution

Add #[AllowDynamicProperties] annotation to the TwittersOAuth class

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

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

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

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024