WPML related error in latest version of WC and Appointments

Issue #607 resolved
Valentina R created an issue

An error of type E_ERROR was caused in line 809 of the file XXXXXXXXXXXXXXXwp-content/plugins/woocommerce-appointments/includes/integrations/class-wc-appointments-integration-wcml.php. Error message: Uncaught Error: Call to undefined method WCML_Multi_Currency_Orders::get_orders_currencies() in XXXXXXXXXXXXXXXXXXwp-content/plugins/woocommerce-appointments/includes/integrations/class-wc-appointments-integration-wcml.php:809

Reported here.

Comments (2)

  1. mattias @ refine.digital

    Same issue here. Latest version of either woocommerce-multilingual or woocommerce-appointments cause FATAL ERROR.

    [03-Dec-2019 20:22:14 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WCML_Multi_Currency_Orders::get_orders_currencies() in /XXXXXXXXXX/wp-content/plugins/woocommerce-appointments/includes/integrations/class-wc-appointments-integration-wcml.php:809
    Stack trace:
    #0 /XXXXXXXXXX/wp-includes/class-wp-hook.php(288): WC_Appointments_Integration_WCML->set_appointment_currency('SEK')
    #1 /XXXXXXXXXX/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(NULL, Array)
    #2 /XXXXXXXXXX/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #3 /XXXXXXXXXX/wp-settings.php(523): do_action('init')
    #4 /XXXXXXXXXX/wp-config.php(121): require_once('/home/refine12/...')
    #5 /XXXXXXXXXX/wp-load.php(37): require_once('/home/refine12/...')
    #6 /XXXXXXXXXX/wp-admin/admi in /XXXXXXXXXX/wp-content/plugins/woocommerce-appointments/includes/integrations/class-wc-appointments-integration-wcml.php on line 809
    

  2. Log in to comment