Title: CRITICAL Uncaught Error
Last modified: December 7, 2022

---

# CRITICAL Uncaught Error

 *  [flockstargmbh](https://wordpress.org/support/users/flockstargmbh/)
 * (@flockstargmbh)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/)
 * Nach dem Update wird beim Rechnung erzeugen ein Fehler erzeugt.
 *     ```
       2022-12-07T07:28:35+00:00 CRITICAL Uncaught Error: Class 'WC_Product_Addons_Helper' not found in httpdocs/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-content.php:172
       Stack trace:
       #0 httpdocs/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
       #1 httpdocs/wp-content/plugins/woocommerce-delivery-notes/includes/wcdn-template-functions.php(25): wc_get_template()
       #2 httpdocs/wp-content/plugins/woocommerce-delivery-notes/includes/wcdn-template-functions.php(180): wcdn_get_template_content()
       #3 httpdocs/wp-includes/class-wp-hook.php(308): wcdn_content()
       #4 httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
       #5 httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
       #6 httpdocs/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/pri in httpdocs/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-content.php in Zeile 172
       ```
   
    -  This topic was modified 3 years, 6 months ago by [flockstargmbh](https://wordpress.org/support/users/flockstargmbh/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [Moksha Shah](https://wordpress.org/support/users/mokshasharmila13/)
 * (@mokshasharmila13)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16268004)
 * Hi [@flockstargmbh](https://wordpress.org/support/users/flockstargmbh/)
 * Please can you share a screenshot at which point this error is shown?
    Is there
   any other plugin that is active?
 * Regards,
    Moksha.
 *  Thread Starter [flockstargmbh](https://wordpress.org/support/users/flockstargmbh/)
 * (@flockstargmbh)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16268927)
 * Nach dem Klick auf Rechnung wird der Fehler in die Log geschrieben.
    Dort öffnet
   sich das Fenster zum Rechnungsdruck, der Fehler ist dort wo die Varianten angezeigt
   werden was Bestellt wurde, dies wird dann beendet mit:
 * „Es gab einen kritischen Fehler auf deiner Website“
 *  [peterfare](https://wordpress.org/support/users/peterfare/)
 * (@peterfare)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16277093)
 * I have been waiting since february for this bug to be resolved. When choosing“
   print invoice, delivery note or receipt”, f ex an invoice is shown, correcly 
   at the top but with the text “an critical error has occurred” further down
    Please
   fix this bug
 *  [Moksha Shah](https://wordpress.org/support/users/mokshasharmila13/)
 * (@mokshasharmila13)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16280078)
 * Hi [@peterfare](https://wordpress.org/support/users/peterfare/) and [@flockstargmbh](https://wordpress.org/support/users/flockstargmbh/),
 * Sorry for the inconvenience, This error doesn’t replicate in our invoice. Sharing
   a screenshot of our invoice, the error which is displayed on your invoice is 
   not displayed on our invoice and also in the logs. Disable all other plugins 
   first and update our plugin and WooCommerce plugin and try to print our invoice.
 * Screenshot:- [https://prnt.sc/Ng00c_Slnjbk](https://prnt.sc/Ng00c_Slnjbk).
    [https://prnt.sc/MXq6g9qJIm7W](https://prnt.sc/MXq6g9qJIm7W).
 * Please let us know for any further help.
 * Regards,
    Moksha.
 *  [peterfare](https://wordpress.org/support/users/peterfare/)
 * (@peterfare)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16389099)
 * Hi again,
 * By a coincident, I found out how to get rid of this bug. I unactivated the plu
   in: Woo Commerce Product add-ons. Might help somebody else.
 *  [Moksha Shah](https://wordpress.org/support/users/mokshasharmila13/)
 * (@mokshasharmila13)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16468776)
 * Hi [@peterfare](https://wordpress.org/support/users/peterfare/),
 * There is no need to unactivated the plugin Woo Commerce Product add-ons, this
   plugin is now compatible with our plugin.
 * Please take a backup of the existing plugin before you replace the above files.
 * File path:- woocommerce-delivery-notes/templates/print-order.
   File:- [](https://www.dropbox.com/s/k6s0znjgkl4mhf9/print-content.php?dl=0)
   [https://www.dropbox.com/s/k6s0znjgkl4mhf9/print-content.php?dl=0](https://www.dropbox.com/s/k6s0znjgkl4mhf9/print-content.php?dl=0).
 * Please note that updating the plugin’s new version will wipe out these changes.
 * Regards,Moksha

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘CRITICAL Uncaught Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Moksha Shah](https://wordpress.org/support/users/mokshasharmila13/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/ritical-uncaught-error/#post-16468776)
 * Status: not resolved