Deprecated function: Creation of dynamic property LdapAuthorizationConsumerOG::$mappingDirections is deprecated in LdapAuthorizationConsumerAbstract->__construct() (line 122 at /ldap/ldap_authorization/LdapAuthorizationConsumerAbstract.class.php)

Created on 25 September 2024, about 1 month ago

Problem/Motivation

I'm running a Drupal 7 site on a new instance with PHP 8.2 and I'm getting this warning:

Deprecated function: Creation of dynamic property LdapAuthorizationConsumerOG::$mappingDirections is deprecated in LdapAuthorizationConsumerAbstract->__construct() (line 122 at /ldap/ldap_authorization/LdapAuthorizationConsumerAbstract.class.php)

This issue is similar to this one: https://www.drupal.org/project/ldap/issues/3373347 πŸ› Deprecated function: Creation of dynamic property LdapUserConf::$createLDAPAccountsAdminApproval is deprecated in LdapUserConf->load() (line 266 Closed: outdated

Debug Report

Proposed resolution

The property $mappingDirections needs to be explicitly declared in the LdapAuthorizationConsumerAbstract class.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada danrod Ottawa

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

Comments & Activities

Production build 0.71.5 2024