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.
Issue fork permissions_by_term-3403249
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
erutan commentedComment #5
chetan 11 commentedHi,
I have fixed the above error on my local, please check the raised MR.
Thanks.
Comment #6
erutan commentedThis fixes the error for me, thanks!
Rebased against the commit that came in since and it applies cleanly.
Comment #9
marcoliverThanks! Merged. Will tag a new release shortly.