Worldpay / Worldpay-Magento2-AW

Worldpay Magento 2.4 Plugin AW
Other
0 stars 3 forks source link

Fix Error - Notice: Undefined index: version on line 115 #5

Open Flipmediaco opened 1 year ago

Flipmediaco commented 1 year ago

Missing Index causes error making it impossible to configure the payment method.

The following provides a fix that allows the configuration to be performed: https://github.com/Flipmediaco/Worldpay-Magento2-AW/commit/b53e0fb713d6e06377a94c5695ecf3ed92694220

Flipmediaco commented 1 year ago

When module installed on M2.4.4 running PHP 8.1 this issue does not result in an error but the version data that this function is designed to deliver is missing: Screenshot 2022-10-10 at 17 20 02

Flipmediaco commented 1 year ago

In Developer Mode M2.4.4 running PHP 8.1 delivers the following error on attempting to access AW WorldPay M2 Admin

1 exception(s): Exception #0 (Exception): Warning: Undefined array key "version" in /public/vendor/sapient/module-access-worldpay/Model/System/Config/Backend/CurrentPluginVersion.php on line 115