Title: Critical error (table doesn&#8217;t exist)
Last modified: January 1, 2023

---

# Critical error (table doesn’t exist)

 *  Resolved [saens](https://wordpress.org/support/users/saens/)
 * (@saens)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-table-doesnt-exist/)
 * Hi. I just changed the field “Volgend factuurnummer (zonder voor- of achtervoegsel
   etc.)” to 101 for the next invoice. Which is also supposed to be the first invoice
   of the year.
 * I get the error:
 * `2023-01-01T11:05:05+00:00 CRITICAL Table 'deb130999_wp2.wp_wcpdf_invoice_number'
   doesn't exist`
 * Am on latest version of your plugin, and woo 7.1
 * From phpMyAdmin:
 * > [View post on imgur.com](https://imgur.com/a/rMUjHUo)
    -  This topic was modified 3 years, 5 months ago by [saens](https://wordpress.org/support/users/saens/).
    -  This topic was modified 3 years, 5 months ago by [saens](https://wordpress.org/support/users/saens/).

Viewing 1 replies (of 1 total)

 *  [Jhonny Pirela](https://wordpress.org/support/users/jhosagid/)
 * (@jhosagid)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-table-doesnt-exist/#post-16335454)
 * Hi [@saens](https://wordpress.org/support/users/saens/),
 * Thank you for reporting this issue, however, there is nothing to worry about 
   as this error is logged because when the number sequence gets reset, it archives
   the existing table by adding a suffix. So `wp_wcpdf_invoice_number` becomes `
   wp_wcpdf_invoice_number_2022`. Therefore `wp_wcpdf_invoice_number`  no longer
   exists. The first time that table gets called it will log the error, but then
   the plugin will create the table and move on with the process. So you can safely
   ignore that error.

Viewing 1 replies (of 1 total)

The topic ‘Critical error (table doesn’t exist)’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-pdf-invoices-packing-slips/assets/icon-256x256.
   png?rev=2189942)
 * [PDF Invoices & Packing Slips for WooCommerce](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-pdf-invoices-packing-slips/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jhonny Pirela](https://wordpress.org/support/users/jhosagid/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/critical-error-table-doesnt-exist/#post-16335454)
 * Status: resolved