This is a little late but in case still helpful:
in Abstract Order (under WooCommerce/Classes)
You can see that all the args except the first one have been deprecated
* Output items for display in html emails.
*
* @param array $args Items args.
* @param null $deprecated1 Deprecated arg.
* @param null $deprecated2 Deprecated arg.
* @param null $deprecated3 Deprecated arg.
* @param null $deprecated4 Deprecated arg.
* @param null $deprecated5 Deprecated arg.
* @return string
*/
public function email_order_items_table( $args = array(), $deprecated1 = null, $deprecated2 = null, $deprecated3 = null, $deprecated4 = null, $deprecated5 = null ) {
……………..
………………
}
You need to search for “$order->email_order_items_table” function in your theme or under a plugin which is sending email.
Then change it to something like below:
in your email templates under your woocommerce directory under your theme or a plugin you have
something like this for your plain text email:
“
echo “\n” . $order->email_order_items_table( $order->is_download_permitted(), true, $order->has_status( ‘processing’ ), ”, ”, true );
This should be something like this depending on your requirements:
“echo “\n” . $order->email_order_items_table( array(
‘show_sku’ => false,
‘show_image’ => false,
‘$image_size’ => array( 32, 32 ),
‘plain_text’ => true
) );”
And for your non-plain text email you have something like this:
“<?php echo $order->email_order_items_table( $order->is_download_permitted(), true, $order->has_status( ‘processing’ ) ); ?>”
This should be something like this depending on your requirements:
“<?php echo $order->email_order_items_table( array(
‘show_sku’ => false,
‘show_image’ => true,
‘$image_size’ => array( 32, 32 ),
‘plain_text’ => $plain_text
) ); ?>”