PHP 8.1/ PHP 8.2 compatibility

Created on 15 May 2023, over 1 year ago
Updated 17 May 2023, over 1 year ago

Problem/Motivation

    Deprecated function: Optional parameter $reporteddate declared before required parameter $database is implicitly treated as a required parameter in include() (line 571 of vendor/composer/ClassLoader.php).
    Deprecated function: Optional parameter $orphanedpages_results declared before required parameter $database is implicitly treated as a required parameter in include() (line 571 of vendor/composer/ClassLoader.php).
    Deprecated function: Optional parameter $filedirectory declared before required parameter $database is implicitly treated as a required parameter in include() (line 571 of vendor/composer/ClassLoader.php).

Steps to reproduce

Use PHP 8.1 with D9.5.9 or D8.2 with D10+
install safedelete
configure editorial workflow for your node content
create new node , make a draft, publish or archive content that is covered by safedelete
you will see the error

Proposed resolution

see commit

Remaining tasks

commit fix

User interface changes

None

API changes

minor

Data model changes

none

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024