Woodmart wishlist emails conflict with YITH wishlist
-
Hello,
I am not using woodmart wishlist but still it seems like its emails conflicts with YITH wishlist. When YITH back in stock emails is beeing sent, or supposed to be sent we get the below fatal error.
2022-10-12T10:32:02+00:00 CRITICAL Uncaught Error: Call to undefined function woodmart_get_unsubscribe_link() in /wp-content/themes/woodmart/woocommerce/emails/back-in-stock.php:66
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include()
#1 /wp-content/plugins/yith-woocommerce-wishlist-premium/includes/emails/class-yith-wcwl-back-in-stock-email.php(126): wc_get_template(’emails/back-in-…’, Array)
#2 /wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(574): YITH_WCWL_Back_In_Stock_Email->get_content_html()
#3 /wp-content/plugins/yith-woocommerce-wishlist-premium/includes/emails/class-yith-wcwl-back-in-stock-email.php(112): WC_Email->get_content()
#4 /wp-includes/class-wp-hook.php(307): YITH_WCWL_Back_In_Stock_Email->trigger(Object(WP_User), Array)
#5 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#6 /wp-includes/plugin.php(524): WP_Hook->do_action(Array)
#7 /wp-content/plugins/woocommerce/includes/class-wc-emails.php(170): do_action_ref_array(‘send_back_in_st…’, Array)
#8 /wp-includes/class-wp-hook.php(307): WC_Emails::send_transactional_email(Array, Array)
#9 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#10 /wp-includes/plugin.php(476): WP_Hook->do_action(Array)
#11 /wp-content/plugins/yith-woocommerce-wishlist-premium/includes/class-yith-wcwl-cron-extended.php(103): do_action(‘send_back_in_st…’, Object(WP_User), Array)
#12 /wp-includes/class-wp-hook.php(307): YITH_WCWL_Cron_Extended->send_back_in_stock_email()
#13 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#14 /wp-includes/plugin.php(524): WP_Hook->do_action(Array)
#15 /wp-cron.php(138): do_action_ref_array(‘yith_wcwl_send_…’, Array)
#16 {main}
thrown i /wp-content/themes/woodmart/woocommerce/emails/back-in-stock.php på linje 66
Brgds
Rune
Hello,
Try to delete the file on your website /wp-content/themes/woodmart/woocommerce/emails/back-in-stock.php
and test how it works.
Kind Regards
Hello,
I just renamed it and then it works ok, no fatal errors and emails are beeing sent.
Brgds
Rune
Great, we are glad that you sorted it out. Feel free to contact us if you have any further questions.
Kind Regards
The topic ‘Woodmart wishlist emails conflict with YITH wishlist’ is closed to new replies.