• Hi, when i install the plugin there is a Fatal Error.

    Why?

    Fatal error: Uncaught Error: Call to a member function get_base_country() on null in /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/settings/settings.php:194 Stack trace: #0 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/lib/classes/base/settings/settings.php(175): Aelia\WC\EU_VAT_Assistant\Settings->default_settings() #1 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-eu-vat-assistant.php(29): Aelia\WC\Settings->save() #2 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-eu-vat-assistant.php(81): WCPBC_EU_VAT_Assistant::init() #3 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/class-w in /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/settings/settings.php on line 194
    Si è verificato un errore critico sul tuo sito web. Controlla la casella di posta dell'amministratore del sito per istruzioni.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Diego

    (@daigo75)

    The error seems to be caused by the EU VAT Assistant integration in the Prices Based on Country plugin (see line #2, below).

    Fatal error: Uncaught Error: Call to a member function get_base_country() on null in /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/settings/settings.php:194 
    Stack trace: 
    #0 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/embedded-framework/wc-aelia-foundation-classes-embedded/src/lib/classes/base/settings/settings.php(175): Aelia\WC\EU_VAT_Assistant\Settings->default_settings() 
    #1 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-eu-vat-assistant.php(29): Aelia\WC\Settings->save() 
    #2 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/class-wcpbc-eu-vat-assistant.php(81): WCPBC_EU_VAT_Assistant::init() 
    #3 /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/class-w in /home/customer/www/store.biutop.com/public_html/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/settings/settings.php on line 194

    We haven’t tested that plugin, and we can’t provide support for it, but I would suggest the following:
    1. Disable the Prices Based on Country plugin.
    2. Activate the EU VAT Assistant.
    3. Configure the EU VAT Assistant.
    4. Activate the Prices Based on Country plugin again.

    If the issue persists, the next step would be to reach out to the support team of the Prices Based on Country plugin. They should be able to check what the root cause is, and address it.

    Note
    Please be aware that the EU VAT Assistant will be retired at the end of June 2022 (see the FAQ and the announcement on our site). If you just started using it, it could be a good idea to use an alternative solution, such as the VAT Compliance by Simba Hosting, instead.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal Error’ is closed to new replies.