Just install the Snippets plugin and make new one after that add the line then clikc save and activate
many have been complaining about this issue
I have Fixed the problem using this code by adding it to Snippets
add_filter( 'woocommerce_enqueue_styles', 'wc_child_theme_fix_33467', PHP_INT_MAX );
function wc_child_theme_fix_33467( $styles ) {
return ( is_array( $styles ) ) ? $styles : [];
}