• 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 2 years, 3 months ago by flockstargmbh.
Viewing 6 replies - 1 through 6 (of 6 total)
  • moksha shah

    (@mokshasharmila13)

    Hi @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

    (@flockstargmbh)

    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“

    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

    (@mokshasharmila13)

    Hi @peterfare and @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/MXq6g9qJIm7W.

    Please let us know for any further help.

    Regards,
    Moksha.

    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

    (@mokshasharmila13)

    Hi @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.

    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.