change
function remove_empty_tags_around_shortcodes_acf_wysiwyg( $value, $post_id, $field ) {
to
function remove_empty_tags_around_shortcodes_acf_wysiwyg( $value ) {
and
add_filter('acf/load_value/type=wysiwyg', 'remove_empty_tags_around_shortcodes_acf_wysiwyg', 10, 1);
to
add_filter('acf_the_content', 'remove_empty_tags_around_shortcodes_acf_wysiwyg', 10, 1);
See the notes here https://www.advancedcustomfields.com/resources/wysiwyg-editor/