Deprecated in PHP 8.0: Required parameter

Created on 20 July 2022, over 2 years ago
Updated 22 February 2023, over 1 year ago

Problem/Motivation

When switching to PHP8, I got following issues:

Line   src/modules/contrib/taxonomy_menu/taxonomy_menu.module                              

 ------ ------------------------------------------------------------------------------------ 

  482    Deprecated in PHP 8.0: Required parameter $node follows optional parameter $terms.  

  816    Deprecated in PHP 8.0: Required parameter $node follows optional parameter $args.  

Proposed resolution

Update parameters in function declaration.

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡§πŸ‡ΎBelarus yurikulinkovich

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.

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.71.5 2024