version 4.6.5 critical error on product description
-
Hey just wanted to report an issue using version 4.6.5
What happens is when clicking print the preview shown has an error message in the product description section “There has been a critical error on this site, Learn More…”
I’ve been able to resolve it by rolling back to 4.6.4
Fixed:
And the error message I get from my apache error log is:
[Thu Feb 24 19:11:11.067853 2022] [php7:error] [pid 29103] [client xxx.xxx.xxx.xxx:55660] PHP Fatal error: Uncaught Error: Class 'WC_Product_Addons_Helper' not found in /var/www/mysite/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-content.php:148\nStack trace:\n#0 /var/www/mysite/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()\n#1 /var/www/mysite/wp-content/plugins/woocommerce-delivery-notes/includes/wcdn-template-functions.php(25): wc_get_template('print-content.p...', Array, '/var/www/mysite/w...', '/var/www/mysite/w...')\n#2 /var/www/mysite/wp-content/plugins/woocommerce-delivery-notes/includes/wcdn-template-functions.php(180): wcdn_get_template_content('print-content.p...', Array)\n#3 /var/www/mysite/wp-includes/class-wp-hook.php(307): wcdn_content(Object(WC_Order), 'invoice')\n#4 /var/www/mysite/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)\n#5 /var/www/mysite/wp-includes/plugin.php(474): WP_Hook->do_action(Array)\n#6 /var/www/mysite/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-order.php(41): do_action('wcdn_loop_conte...', Obj in /var/www/mysite/wp-content/plugins/woocommerce-delivery-notes/templates/print-order/print-content.php on line 148, referer: https://mysite.com/wp-admin/post.php?post=6732&action=edit
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘version 4.6.5 critical error on product description’ is closed to new replies.