Warning: Array message appears by Checkout
-
Hi there,
When testing my eCommerce page, I added a product to my cart and after I went to cart I received the following warning –
Warning: array_key_exists() expects parameter 2 to be array, null given in /usr/www/users xxx/wp-content/plugins/yoco-payment-gateway/class_yoco_wc_error_logging.php on line 199I have no idea what is causing this to appear and it carried on showing as you go along the checkout process, I updated the Plugin in hopes that it will resolve this issue but it stays the same.
When looking at the code it shows – if (array_key_exists(‘token’, $response)) {
return $response[‘token’];
}
Can anyone help me with this?
- The topic ‘Warning: Array message appears by Checkout’ is closed to new replies.