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

Created on 23 September 2021, almost 3 years ago
Updated 30 October 2023, 8 months 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.69.0 2024