Declaration of CommerceSkuNotNullConstraintValidator::validate

Created on 30 January 2025, 1 day ago

Problem/Motivation

NOTICE: PHP message: PHP Fatal error: Declaration of Drupal\commerce_autosku\Plugin\Validation\CommerceSkuNotNullConstraintValidator::validate($value, Symfony\Component\Validator\Constraint $constraint) must be compatible with Drupal\Core\Validation\Plugin\Validation\Constraint\NotNullConstraintValidator::validate($value, Symfony\Component\Validator\Constraint $constraint): void in /app/public/modules/contrib/commerce_autosku/src/Plugin/Validation/CommerceSkuNotNullConstraintValidator.php on line 19

Steps to reproduce

I got this PHP fatal error on order_information page after adding product to shopping cart and continue commerce pipeline.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇫🇮Finland tvalimaa

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024