Deprecated: Required parameter $amountMax and $uidExclude with php 8

Created on 23 September 2021, about 3 years ago
Updated 30 October 2023, about 1 year ago

Problem/Motivation

Iยดm developing on my local windows 10 machine with xampp (PHP 8.x) and when i try to do CONTENT > ADD CONTENT > AUCTION i get these 2 errors:

Deprecated: Required parameter $amountMax follows optional parameter $relistCount in C:\PATH\web\modules\contrib\auctions\modules\auctions_core\src\Service\AuctionTools.php on line 394

Deprecated: Required parameter $uidExclude follows optional parameter $relistCount in C:\PATH\web\modules\contrib\auctions\modules\auctions_core\src\Service\AuctionTools.php on line 394

I get these only the first time, after reload or trying to add content again they are gone. it looks like that there are variables needed before you even add content

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

๐Ÿ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡นAustria gr4phic3r

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