-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
PHP 8.2
Magento 2.4.7-p7
Payment Module: qenta/magento2-qcp
We receive the following Error at the checkout:
Fatal Error: 'During inheritance of ArrayAccess: Uncaught Exception: Deprecated Functionality: Return type of QentaCEE\Stdlib\FingerprintOrder::offsetSet($mOffset, $mValue) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in vendor/qenta/checkout-client-library/src/QentaCEE/Stdlib/FingerprintOrder.php on line 135
The quick fix would be to add #[\ReturnTypeWillChange] also to the "public function offsetSet($mOffset, $mValue)" as you already did in the functions offsetGet, offsetExists and offsetUnset.
Thx.
Metadata
Metadata
Assignees
Labels
No labels