Deprecated Function error when saving permissions changes or page with permissions applied

Created on 21 November 2023, 7 months ago
Updated 13 December 2023, 7 months ago

Steps to reproduce

go to /taxonomy/term/foo/edit and tick/untick checkboxes and save in 10.1.6. the following appears on the next screen:

Deprecated function: Creation of dynamic property Drupal\permissions_by_term\Service\NodeAccess::$nodeAccessRecordFactory is deprecated in Drupal\permissions_by_term\Service\NodeAccess->__construct() (line 85 of modules/contrib/permissions_by_term/src/Service/NodeAccess.php).

Also saving a basic page content type with a taxonomy term that has permissions applied to it results in the same error being shown.

The changes still save, so this isn't a major issue.

I tried applying some of the needs review patches that mentioned deprecation, they either didn't apply anymore or didn't help with the issue.

๐Ÿ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States erutan

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024