Support » Plugin: WooCommerce Print Invoice & Delivery Note » System generates duplicate invoice numbers

  • Hello there,

    I have the following issue: In some cases the system is generating the same invoice number for more than one order. It’s not reproducible for me when it happens. I found this topic, where (nearly 3 years ago!) a similar problem was mentioned: https://wordpress.org/support/topic/what-is-trigger-for-create-invoice-number/

    Actually I try to workaround this problem by updating the invoice numbers directly in the database and setting the next number to the corresponded number. Not cool. And it generates a big chaos in the accounting.

    Does anyone else know this problem and has an idea how to fix it? Christmas is coming and the number of orders is rising.

    Hereinafter you’ll find the system status report. There’s a problem with “table does not exist” messages additionally (the tables do exist of course). If anyone has a clue regarding this message, I would be thankful as well.

    So here’s the system report:

    `
    ### WordPress Environment ###

    Home URL: https://pinkstinks.de
    Site URL: https://pinkstinks.de
    WC Version: 3.5.1
    Log Directory Writable: ✔
    WP Version: 4.9.8
    WP Multisite: ✔
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: de_DE
    External object cache: ✔

    ### Server Environment ###

    Server Info: Apache/2.4.35
    PHP Version: 5.6.34 – Wir empfehlen
    PHP Version 7.2 oder höher für mehr Leistung und Sicherheit zu verwenden. So aktualisierst du deine PHP-Version

    PHP Post Max Size: 40 MB
    PHP Time Limit: 180
    PHP Max Input Vars: 1000
    cURL Version: 7.55.1
    OpenSSL/1.0.2l

    SUHOSIN Installed: –
    MySQL Version: 5.6.19-67.0-log
    Max Upload Size: 40 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔

    ### Database ###

    WC Database Version: 3.5.1
    WC Database Prefix: wp_
    MaxMind GeoIP Database: ✔
    Datenbank-Gesamtgröße: 128.28MB
    Datenbank-Datengröße: 117.60MB
    Datenbank-Indexgröße: 10.68MB
    wp_woocommerce_sessions: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_api_keys: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_attribute_taxonomies: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_downloadable_product_permissions: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_order_items: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_order_itemmeta: Daten: 2.68MB + Index: 1.84MB
    wp_woocommerce_tax_rates: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_tax_rate_locations: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_shipping_zones: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_shipping_zone_locations: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_shipping_zone_methods: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_payment_tokens: ❌ Tabelle ist nicht vorhanden
    wp_woocommerce_payment_tokenmeta: Daten: 0.00MB + Index: 0.00MB
    wp_woocommerce_log: ❌ Tabelle ist nicht vorhanden
    wp_blogs: Daten: 0.00MB + Index: 0.00MB
    wp_blog_versions: Daten: 0.00MB + Index: 0.00MB
    wp_commentmeta: Daten: 0.88MB + Index: 0.24MB
    wp_comments: Daten: 4.52MB + Index: 0.72MB
    wp_links: Daten: 0.00MB + Index: 0.00MB
    wp_options: Daten: 68.43MB + Index: 0.20MB
    wp_postmeta: Daten: 16.34MB + Index: 5.89MB
    wp_posts: Daten: 23.00MB + Index: 0.80MB
    wp_registration_log: Daten: 0.00MB + Index: 0.00MB
    wp_signups: Daten: 0.00MB + Index: 0.01MB
    wp_site: Daten: 0.00MB + Index: 0.01MB
    wp_sitemeta: Daten: 0.51MB + Index: 0.04MB
    wp_termmeta: Daten: 0.00MB + Index: 0.01MB
    wp_terms: Daten: 0.06MB + Index: 0.15MB
    wp_term_relationships: Daten: 0.08MB + Index: 0.17MB
    wp_term_taxonomy: Daten: 0.06MB + Index: 0.06MB
    wp_usermeta: Daten: 0.79MB + Index: 0.44MB
    wp_users: Daten: 0.04MB + Index: 0.04MB
    wp_yoast_seo_links: Daten: 0.19MB + Index: 0.04MB
    wp_yoast_seo_meta: Daten: 0.02MB + Index: 0.02MB

    ### Post Type Counts ###

    acf: 1
    acf-field: 2
    acf-field-group: 1
    attachment: 1852
    ig_campaign: 1
    ig_message: 5
    inc_popup: 1
    jetpack_migration: 2
    mbt_book: 208
    ml-slide: 4
    ml-slider: 3
    nav_menu_item: 66
    nooz_release: 1
    option-tree: 1
    page: 39
    post: 641
    product: 40
    product_variation: 6
    revision: 3417
    shop_order: 2149
    shop_order_refund: 3
    wprss_feed: 1

    ### Security ###

    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔

    ### Active Plugins (33) ###

    Gravity Forms: von rocketgenius – 2.3.6
    2 Click Social Media Buttons: von H.-Peter Pfeufer – 1.6.4
    Advanced Custom Fields: von Elliot Condon – 5.7.7
    Akismet Anti-Spam: von Automattic – 4.0.8
    Avatar Manager: von Cătălin Dogaru – 1.6.1
    Bloom: von Elegant Themes – 1.0.4
    Civil Footnotes: von Austin Sweeney – 1.3.1
    15Zine – Functionality: von – 2.1
    Manual Image Crop: von Tomasz Sita – 1.12
    Members: von Justin Tadlock – 2.1.0
    MetaSlider: von Team Updraft – 3.10.0
    MyBookTable Bookstore bei Author Media: von Author Media – 3.1.5
    P3 (Plugin Performance Profiler): von GoDaddy.com – 1.5.3.9
    Page Links To: von Mark Jaquith – 3.0.1
    Redirection: von John Godley – 3.5
    SpeakOut! Petitionen: von Steve D forked from speakup – 1.14.3
    Compress JPEG & PNG images: von TinyPNG – 3.0.1
    Advanced Order Export For WooCommerce: von AlgolPlus – 2.0.0
    WooCommerce Print Invoice & Delivery Note: von Tyche Softwares – 4.4.6 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce German Market: von Inpsyde GmbH – 2.6.8 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce Max Quantity: von Isabel Castillo – 1.5.1 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce Sequential Order Numbers: von SkyVerge – 1.8.3 – Nicht getestest mit der aktiven WooCommerce-Version
    WooCommerce: von Automattic – 3.5.1
    Yoast SEO: von Team Yoast – 9.0.3 – Nicht getestest mit der aktiven WooCommerce-Version
    WP-Piwik: von André Bräkling – 1.0.19
    Prosodia VGW OS für Zählmarken (VG WORT): von Prosodia – Verlag für Musik und Literatur – 3.20.3
    YITH WooCommerce Name Your Price: von YITH – 1.1.1
    W3 Total Cache: von Frederick Townes – 0.9.7
    WP GDPR Compliance: von Van Ons – 1.4.2
    BST DSGVO Cookie: von BST Systemtechnik (Autor: Arnold Margolf) – 1.2.6
    Autoptimize: von Frank Goossens (futtta) – 2.4.1
    Borlabs Cookie – Cookie Opt-in: von Benjamin A. Bornschein
    Borlabs – 1.9.6

    UpdraftPlus – Backup/Restore: von UpdraftPlus.Com
    DavidAnderson – 1.15.3

    ### Settings ###

    API Enabled: ✔
    Force SSL: –
    Currency: EUR (€)
    Currency Position: right
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-catalog (exclude-from-catalog-2)
    exclude-from-search (exclude-from-search)
    featured (featured)
    featured (featured-2)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-1 (rated-1-2)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    rated-5 (rated-5-2)

    ### WC Pages ###

    Shop-Basis: #6586 – /shop/
    Warenkorb: #6587 – /warenkorb/
    Kasse: #6588 – /kasse/
    Mein Konto: #6589 – /mein-konto/
    Allgemeine Geschäftsbedingungen: #6616 – /allgemeine_geschaeftsbedingungen/

    ### Theme ###

    Name: 15zine Child
    Version: 1.3
    Author URL: http://themeforest.net/user/cubell
    Child Theme: ✔
    Parent Theme Name: 15zine
    Parent Theme Version: 2.1.2
    Parent Theme Author URL: http://themeforest.net/user/cubell
    WooCommerce Support: ✔

    ### Templates ###

    Archive Template: Dein Theme hat eine woocommerce.php-Datei
    was dazu führt
    dass du das Template woocommerce/archive-product.php nicht überschreiben kannst
    da woocommerce.php höher gewichtet wird als archive-product.php. Das ist beabsichtigt
    um Darstellungsprobleme zu verhindern.

    Overrides: 15zine-child/woocommerce/content-product.php
    15zine-child/woocommerce/loop/result-count.php
    15zine-child/woocommerce/single-product/meta.php
    15zine-child/woocommerce/single-product/rating.php
    15zine-child/woocommerce/single-product/tabs/tabs.php
    15zine-child/woocommerce/single-product/title.php

    Any help would be appreciated.

    Best regards
    Jan-Eric

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

    (@priyankajagtap)

    Hi @enricocolladi,

    I apologize for the late response. We were on holidays in last week due to the Diwali festival here in India hence the delay caused in replying to you.

    Thank you for sharing your system status with us. We tried to replicate the issue you mentioned on our staging sites which includes Multisite as well. But we are unable to replicate the same issue. We have placed some test orders and every order generated a unique invoice number.

    Can you please check again and let us know if still, you are able to replicate the same issue? If you are able to replicate it then it would be great if you can provide us with some more information or scenario where you are getting this issue.

    Regards,
    Priyanka Jagtap

Viewing 1 replies (of 1 total)
  • The topic ‘System generates duplicate invoice numbers’ is closed to new replies.