Query all post and CPT from 2 specific taxonomies AND by ACF custom field

Finally I found a solution!

Here is the query in case someone needs it :

 // first query
            $first_ids = get_posts(array(
                'fields'         => 'ids',
                'posts_per_page' => '10',
                'post_status'    => 'publish',
                'post_type'      => array('post'),
                'orderby'        => 'date',
                'order'          => 'DESC',
              
            ));

            // second query
            $second_ids = get_posts(array(
                'fields'         => 'ids',
                'posts_per_page' => '10',
                'post_status'    => 'publish',
                'post_type'      => array('CPT1'),
                'orderby'        => 'date',
                'order'          => 'DESC',
                'tax_query'      => array(array(
                    'taxonomy'       => 'TAX1',
                    'field'          => 'slug',
                    'terms'          =>  'tax_value',
                ))
            ));

            // third query
            $third_ids = get_posts(array(
                'fields'         => 'ids',
                'posts_per_page' => '10',
                'orderby'        => 'date',
                'order'          => 'DESC',
               
                'post_type'      => array('CPT2'),
               
                'tax_query'      => array(array(
                    'taxonomy'       => 'TAX2',
                    'field'          => 'slug',
                    'terms'          => 'TAX2value,
                ))
            ));

            // merging ids
            $post_ids_list = array_merge($first_ids, $second_ids, $third_ids);

            $querySlider = new WP_Query(array(
                'post_type' => 'any',
                'posts_per_page' => '10',
                'post__in'  => $post_ids_list,
                'post_status'    => 'publish',
                'orderby'   => 'date',
                'order'     => 'DESC',
                'meta_query' => array(
                    array(
                        'key'     => 'highlight',
                        'value'   => '"yes"',
                        'compare' => 'LIKE'
                    )
                ),
            ));
            ?>
           

I found the solution here :
Merge 2 args in one WP_Query and order it by date

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)