• Resolved Adri Oosterwijk

    (@adri-oosterwijk)


    Hi, like said in the title a lot of notices and warnings are thrown when I try to view a report. I tried to deactivate all not relevant plug-ins change the theme to twenty-twelve but the problem(s) remain.

    The concert of notices and warnings is followed by a table with no data in it. All values are set to 0.

    Here are the notices and warnings:

    Notice: Undefined index: country in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 132
    
    Notice: Undefined index: tax_rate_class in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 133
    
    Notice: Undefined index: label in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 153
    
    Notice: Undefined index: vat_rate in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 154
    
    Notice: Undefined index: country in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 155
    
    Notice: Undefined index: tax_rate_class in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 156
    
    Notice: Undefined index: vat_rate in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 173
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 174
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 175
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 176
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 177
    
    Notice: Undefined index: country in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 132
    
    Notice: Undefined index: tax_rate_class in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 133
    
    Notice: Undefined index: label in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 153
    
    Notice: Undefined index: vat_rate in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 154
    
    Notice: Undefined index: country in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 155
    
    Notice: Undefined index: tax_rate_class in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 156
    
    Notice: Undefined index: vat_rate in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 173
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 174
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 175
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 176
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 177
    
    Notice: Undefined index: country in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 132
    
    Notice: Undefined index: tax_rate_class in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 133
    
    Notice: Undefined index: vat_rate in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 173
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 174
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 175
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 176
    
    Warning: Division by zero in /Users/adri/Documents/websites/htdocs/wp-content/plugins/woocommerce-eu-vat-assistant/src/lib/classes/reporting/reports/base/base_eu_vat_by_country_report.php on line 177

    I also noticed in the VAT evidence panel in the order screen that no vat is paid while in the order screen VAT is invoiced.

    Please help!

    Adri

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Diego

    (@daigo75)

    Those warnings are caused by the fact that there is no VAT data associated to the order. This might be caused by some changes introduced in WooCommerce 3.0.x (they keep releasing updates for WC 3.0, and those updates can introduce more issues).

    For the moment, I would recommend to stick to WooCommerce 2.6.x, at least until 3.0.x reaches a more stable status. In the meantime, we will keep re-testing the new versions and addressing the issues that they introduce.

    • This reply was modified 7 years, 7 months ago by Diego.
    Plugin Author Diego

    (@daigo75)

    Note
    The issue with the collection of VAT data in WooCommerce 3.0.3 will be fixed in version 1.7.6, which will be available soon. We are currently reviewing the reports, to make sure that the will keep showing the correct information.

    • This reply was modified 7 years, 7 months ago by Diego.
    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi Diego, thank you for your reply.
    Let’s see what happens when 1.7.6 comes out.

    Best wishes,

    Adri

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi Diego,
    Just installed 1.7.7 but sorry to say, the notices and warnings are still present.

    Cheers,

    Adri

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi Diego,

    Sorry for the wrong info I gave you in the last replies.
    It turned out my database didn’t survive the WooCommerce update. It ended up corrupted.
    So, I went back to a backup version, did the updates again and all works perfectly.

    Thanks for this great plugin. I have tried some other solutions and plugins but no one works this well. Superb job. Rating? 23 out of 5!!!

    So, it’s solved in my opinion.

    Best wishes,

    Adri

    Plugin Author Diego

    (@daigo75)

    You’re welcome. If I may repeat myself, I would still recommend to stick to WooCommerce 2.6, as it looks like they are going to release more patches in the next days, or weeks. We don’t know if the updates will introduce new issues, but, in my opinion, WC 3.0.x is not yet stable enough to be used in production, as there can still be unresolved conflicts with other plugins (not necessarily the EU VAT Assistant).

    Thread Starter Adri Oosterwijk

    (@adri-oosterwijk)

    Hi Diego,

    Thank you for your advice. As I’m still developing (no live production site) I can switch back and forth as I please. So when an update is released I always make a backup of files and db. This way when anything goes wrong and I’m not able to solve it the easy way I simply revert back to the former state.

    Plugin Author Diego

    (@daigo75)

    That’s a great idea, and a best practice that applies to live sites as well. Although it may sound pessimistic, you could assume that all updates will introduce issues, and that you should always test upgrades on a staging copy of the site first. It will save you headaches in the long run. ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘A lot of notices and warnings are thrown in reports’ is closed to new replies.