• Resolved MikaelG

    (@armbreaker)


    Hi.
    After latest update I get this error in log that seem to point to your plugin:

    2019-06-01T12:59:47+00:00 CRITICAL Uncaught Error: Call to a member function get_setting() on null in /home/*****/domains/armsportbutiken.se/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php:115
    Stack trace:
    #0 /home/*****/domains/armsportbutiken.se/public_html/wp-includes/class-wp-hook.php(286): WCML_Currencies_Payment_Gateways->filter_gateway_description(‘Betala med PayP…’, ‘paypal’)
    #1 /home/*****/domains/armsportbutiken.se/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters(‘Betala med PayP…’, Array)
    #2 /home/*****/domains/armsportbutiken.se/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(309): apply_filters(‘woocommerce_gat…’, ‘Betala med PayP…’, ‘paypal’)
    #3 /home/*****/domains/armsportbutiken.se/public_html/wp-content/plugins/woocommerce/templates/checkout/payment-method.php(28): WC_Payment_Gateway->get_description()
    #4 /home/*****/domains/armsportbutiken i /home/armsportbu/domains/armsportbutiken.se/public_html/wp-content/plugins/woocommerce-multilingual/classes/multi-currency/payment-gateways/class-wcml-currencies-payment-gateways.php p? rad 115

    Any suggestion what is causing this? And I notice problems in checkout when this happens. This seems to be triggered if the customer changes country at checkout, with the default language. It doesn’t happen on secondary languages. When this happens, the the update of checkout is spinning forever until I refresh the page. Then the country is set to the new one and everything is fine.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Andreas Panag

    (@andrewp-2)

    Hello and I am very sorry for late reply.

    I have seen your error, but I was unable to reproduce it locally. As I cann understand you can specific settings in you payment gateways that need to be checked.

    Can I asked you to open a ticket in wpml.org so we can investigate better?

    Thank you very much in advanced.

Viewing 1 replies (of 1 total)
  • The topic ‘Checkout error in default language with latest update!’ is closed to new replies.