I'm at a loss on how to cure this issue. I'm testing an ecommerce site before going live. It's in test mode, and clover is also in test mode. I get this message on the checkout page in the payments section after the clover radio button,
"Notice: Undefined index: supported in .../class-woo-clv-admin.php on line 272"
when a user is registered and logged in, but hasn't provided any other profile information, such as address, phone, cc number, etc. When I split the offending line of code across three lines, it narrows the warning down to "$surcharge['supported']" as the cause. Is this a bug or a side effect of something else? Any ideas?
<?php $surcharge = $this->getSurcharge($this->testmode); $message = $surcharge['message']; // line 272 is next if ($surcharge['supported'] && isset($message)) { echo esc_html($message); } ?>