PHP Deprecated: Required parameter $request follows optional parameter $external_status

Created on 13 April 2022, over 2 years ago
Updated 24 January 2023, almost 2 years ago

Problem/Motivation

PHP 8 has depreciated the ability to have a required parameter follow an optional parameter in a function call.

Steps to reproduce

Clearing site cache with Payment Offsite API produces a notice due to this issue.

Proposed resolution

The variable $external_status appears to be set where appropriate, so this patch will remove the empty default values.

πŸ› Bug report
Status

Needs review

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bwoods

Live updates comments and jobs are added and updated live.
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