Undefined array key warnings in error log
-
PHP Warning: Undefined array key “nzdauthenticationcode” in poli-payments-for-woocommerce/poli.php on line 577″
PHP Warning: Undefined array key “nzdmerchantcode” in poli-payments-for-woocommerce/poli.php on line 578″
A change to something like this would fix it.$auth_code_key = $config_currency . ‘authenticationcode’;
$merchant_code_key = $config_currency . ‘merchantcode’;
$authenticationcode = isset($poli_settings[$auth_code_key]) ? $poli_settings[$auth_code_key] : null;
$merchantcode = isset($poli_settings[$merchant_code_key]) ? $poli_settings[$merchant_code_key] : null;
Please update your plugin.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.