• Resolved Algoritmika

    (@algoritmika)


    Hi,

    After updating to v1.1.0, I’ve got error: Fatal error: Can’t use method return value in write context in /…/wp-content/plugins/cardinity-free-payment-gateway-for-woocommerce/class-wc-gateway-cardinity.php on line 481.

    To fix this I’ve replaced:

    if (!empty($order->get_billing_country())) {

    with this:

    $billing_country = $order->get_billing_country();
    if (!empty($billing_country)) {

    Could you please take a look.

    I’ve got latest WooCommerce v3.1.2 and WordPress v4.8.2 installed.

    Best regards,
    Tom

    • This topic was modified 7 years, 2 months ago by Algoritmika.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error after updating to version 1.1.0’ is closed to new replies.