• Resolved Heyme

    (@heyme)


    Hi,

    Just upgraded the plugin to Version 1.10.8, now I get an error on a few sites on my Multisite installation:

    Fatal error: Call to undefined function error_log_v() in /home/heavenhotel.be/public_html/EST/wp-content/plugins/woocommerce-eu-vat-compliance/preselect-country.php on line 325

    And of course I was so stupid as not to save the older version first..
    Hope it can be solved..

    https://www.ads-software.com/plugins/woocommerce-eu-vat-compliance/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,
    I’m getting the same error with version 1.10.8

    PHP Fatal error: Call to undefined function error_log_v() in [full path]/www/wp-content/plugins/woocommerce-eu-vat-compliance/preselect-country.php on line 325

    @heyme the version 1.10.4 can be found here if you need to get back until David Anderson can catch and fix the problem:
    https://github.com/wp-plugins/woocommerce-eu-vat-compliance

    Thread Starter Heyme

    (@heyme)

    Ah! Thanks Bolorino, appreciate it ??

    The plugin seems to work just commenting out the line 325 in /wp-content/plugins/woocommerce-eu-vat-compliance/preselect-country.php.

    //if ('none' == $session_widget_country || ($session_widget_country && isset($countries[$session_widget_country]))) error_log_v($session_widget_country);

    I cannot find the error_log_v function anywhere in the plugin, and to me (I can be wrong) this line logs an error if this condition is met, so no harm is done.

    Is the first time I take a look to the code of this plugin, so take this comment with care until the developer fix the problem.

    Plugin Author David Anderson

    (@davidanderson)

    Hi,

    Many apologies to all. Yes, removing that line will suffice to fix it. It was an internal debugging function that we omitted to remove.

    I’ve pushed 1.10.9 now. You can de-activate the plugin, then update it on the WP ‘Updates’ page, and then re-activate.

    Best wishes,
    David

    Plugin Author David Anderson

    (@davidanderson)

    BTW, no need to hunt around github for previous plugin versions. For all WP plugins, you can get them by clicking on the ‘Developer’ tab on the main plugin page, which takes you to (for this plugin):

    https://www.ads-software.com/plugins/woocommerce-eu-vat-compliance/developers/

    Thread Starter Heyme

    (@heyme)

    Many thanks for the quick fix, and very good to know the location of the back-up versions!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Fatal error after upgrade to Version 1.10.8’ is closed to new replies.