PHP Deprecated: Required parameter $grantUpdate follows optional parameter $langcode

Created on 6 September 2021, almost 3 years ago
Updated 15 August 2023, 11 months ago

Problem/Motivation

An error occurs with PHP 8:

PHP Deprecated:  Required parameter $grantUpdate follows optional parameter $langcode in /web/modules/contrib/permissions_by_term/src/Factory/NodeAccessRecordFactory.php on line 9

Steps to reproduce

Try to import configs.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

3.1

Component

Code

Created by

๐Ÿ‡ต๐Ÿ‡ฑPoland azovsky

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

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

  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.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.69.0 2024