Closed caos989 closed 2 years ago
can be solved with: $skus = explode(',', $rule->getData(static::RULE_DATA_KEY_SKU) ?? '');
instead of $skus = explode(',', $rule->getData(static::RULE_DATA_KEY_SKU) );
got the solution from: https://stackoverflow.com/questions/71097927/php-8-1-explode-passing-null-to-parameter-2-string-of-type-string-is-de
Preconditions
Settings / Sale Rules
Steps to reproduce
Expected result
Actual result