Hello,
Testing your wishlist module and get the below error when on sale emails should be sendt. So theses emails are not beeing sendt.
2022-12-21T20:16:20+00:00 CRITICAL Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php:101
Stack trace:
#0 /public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php(101): in_array(Array, NULL, true)
#1 /public/wp-includes/class-wp-hook.php(308): XTS\WC_Wishlist\Send_On_Sales_Products->register_on_sales_products()
#2 /public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array)
#3 /public/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
#4 /public/wp-cron.php(188): do_action_ref_array(‘woodmart_wishli…’, Array)
#5 {main}
thrown i /public/wp-content/themes/woodmart/inc/integrations/woocommerce/modules/wishlist/sends-about-products-wishlist/class-send-on-sales-products.php på linje 101
The back in stock emails works just great except from that the “Hi username” is not translatable.
Brgds
Rune