WooCommerce emais not editable
-
Hi
WooCommerce emails are not editable.
I have found this:
Uncaught Error: Call to a member function has_downloadable_item() on bool in /home2/cinderel/public_html/wp-content/plugins/woocommerce/includes/class-wc-emails.php:441
Stack trace:
#0 /home2/cinderel/public_html/wp-includes/class-wp-hook.php(324): WC_Emails->order_downloads() #1 /home2/cinderel/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /home2/cinderel/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /home2/cinderel/public_html/wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-processing-order.php(45): do_action()
#4 /home2/cinderel/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include(‘/home2/cinderel…’)
#5 /home2/cinderel/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template()
#6 /home2/cinderel/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-processing-order.php(105): wc_get_template_html()
#7 /home2/cinderel/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(588): WC_Email_Customer_Processing_Order->get_content_html()
#8 /home2/cinderel/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-preview.php(702): WC_Email->get_content()
#9 /home2/cinderel/public_html/wp-content/plugins/kadence-woocommerce-email-designer/includes/class-kadence-woomail-customizer.php(1032): Kadence_Woomail_Preview::get_preview_email()
#10 /home2/cinderel/public_html/wp-includes/class-wp-hook.php(324): Kadence_Woomail_Customizer->ajax_send_email()
#11 /home2/cinderel/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#12 /home2/cinderel/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#13 /home2/cinderel/public_html/wp-admin/admin-ajax.php(192): do_action()
#14 {main} thrownHinted source of the error:
woocommerce/includes/class-wc_emails.php , line 440-441:
public function order_downloads( $order, $sent_to_admin = false, $plain_text = false, $email = ” ) {
$show_downloads = $order->has_downloadable_item() && $order->is_download_permitted() && ! $sent_to_admin && ! is_a( $email, ‘WC_Email_Customer_Refunded_Order’ );WooCommerce emails cannot be edited.
I tried two plugins, neither of them succeeds.
Can someone help?
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.