FireGento_FastSimpleImport2 icon indicating copy to clipboard operation
FireGento_FastSimpleImport2 copied to clipboard

Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string

Open ajaysingh-webkul opened this issue 2 years ago • 4 comments

Deprecated Functionality: Optional parameter $delimiter declared before required parameter $string is implicitly treated as a required pa
rameter in /home/users/ajay.singh/www/html/244/vendor/firegento/fastsimpleimport/Model/Import/Category.php on line 1066

Magento version:- 2.4.4

Issue:- Getting this issue while running php bin/magento setup:di:compile

php version: 8.1

ajaysingh-webkul avatar May 09 '22 10:05 ajaysingh-webkul

Fixed issue zip

change file:- Model/Import/Category.php Model.zip

Because in php8.1, named parameters were added. This means that from now, parameters without a default value, are required to be BEFORE optional parameters.

ajaysingh-webkul avatar May 09 '22 11:05 ajaysingh-webkul

See #122 / #121 / #120.

sprankhub avatar May 11 '22 07:05 sprankhub

@sprankhub there's a way to speed up it?

se45ky avatar Oct 17 '22 12:10 se45ky

Could you please check if version 2.0.0 solves the issue for you?

sprankhub avatar Oct 17 '22 12:10 sprankhub