Closed Ylmzef closed 2 years ago
Hello @Ylmzef,
Looking at the specific line pointed out in the error (https://github.com/magento/magento2/blob/2.4.4/app/code/Magento/Payment/Gateway/Validator/CountryValidator.php#L51), it looks like you did enable the allowspecific
option for a payment method, but didn’t select a specific (specificcountry
) country.
This returns null
by default, but that gives an error in PHP 8.0 and higher. Changing these settings should help fix this error. From the provided context I can’t tell you for which payment method you need to change this though. As this error is caused by code on the Magento side, we are closing this issue, but feel free to reopen it if you need further assistance.
Thanks it's fixed now!
I'm getting following issue when i enable Mollie backend extension with or without Mollie enabled from ScandiPWA package.json
Versions information: Magento 2.4.4 ScandiPWA 5.3.1 Mollie backend: 2.15.0 Mollie frontend: 1.0.1 PHP: 8.1 nginx: 1.20.2