Array
(
    [orderby] => menu_order meta_value date
    [order] => ASC
    [post_type] => trips
    [post_status] => publish
    [tax_query] => Array
        (
            [0] => Array
                (
                    [taxonomy] => trips-locations
                    [field] => id
                    [terms] => 158
                )

        )

    [meta_query] => Array
        (
            [relation] => OR
            [0] => Array
                (
                    [key] => trip_dates_0_leave
                    [type] => DATE
                    [value] => 20191208
                    [compare] => >=
                )

            [1] => Array
                (
                    [key] => due_date
                    [type] => DATE
                    [value] => 20191208
                    [compare] => >=
                )

        )

    [post__not_in] => Array
        (
        )

)
Array
(
    [orderby] => Array
        (
            [menu_order] => DESC
            [meta_value] => ASC
        )

    [post_type] => trips
    [post_status] => publish
    [tax_query] => Array
        (
            [0] => Array
                (
                    [taxonomy] => trips-locations
                    [field] => id
                    [terms] => 158
                )

        )

    [meta_query] => Array
        (
            [0] => Array
                (
                    [key] => trip_dates_0_leave
                    [compare] => NOT EXISTS
                )

        )

    [post__not_in] => Array
        (
        )

)
Array
(
    [posts_per_page] => 10
    [paged] => 1
    [sublimit] => 1000
    [args] => Array
        (
            [0] => Array
                (
                    [orderby] => menu_order meta_value date
                    [order] => ASC
                    [post_type] => trips
                    [post_status] => publish
                    [tax_query] => Array
                        (
                            [0] => Array
                                (
                                    [taxonomy] => trips-locations
                                    [field] => id
                                    [terms] => 158
                                )

                        )

                    [meta_query] => Array
                        (
                            [relation] => OR
                            [0] => Array
                                (
                                    [key] => trip_dates_0_leave
                                    [type] => DATE
                                    [value] => 20191208
                                    [compare] => >=
                                )

                            [1] => Array
                                (
                                    [key] => due_date
                                    [type] => DATE
                                    [value] => 20191208
                                    [compare] => >=
                                )

                        )

                    [post__not_in] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [orderby] => Array
                        (
                            [menu_order] => DESC
                            [meta_value] => ASC
                        )

                    [post_type] => trips
                    [post_status] => publish
                    [tax_query] => Array
                        (
                            [0] => Array
                                (
                                    [taxonomy] => trips-locations
                                    [field] => id
                                    [terms] => 158
                                )

                        )

                    [meta_query] => Array
                        (
                            [0] => Array
                                (
                                    [key] => trip_dates_0_leave
                                    [compare] => NOT EXISTS
                                )

                        )

                    [post__not_in] => Array
                        (
                        )

                )

        )

)
WP_Combine_Queries Object
(
    [args:protected] => Array
        (
            [sublimit] => 1000
            [posts_per_page] => 10
            [paged] => 1
            [args] => Array
                (
                    [0] => Array
                        (
                            [orderby] => menu_order meta_value date
                            [order] => ASC
                            [post_type] => trips
                            [post_status] => publish
                            [tax_query] => Array
                                (
                                    [0] => Array
                                        (
                                            [taxonomy] => trips-locations
                                            [field] => id
                                            [terms] => 158
                                        )

                                )

                            [meta_query] => Array
                                (
                                    [relation] => OR
                                    [0] => Array
                                        (
                                            [key] => trip_dates_0_leave
                                            [type] => DATE
                                            [value] => 20191208
                                            [compare] => >=
                                        )

                                    [1] => Array
                                        (
                                            [key] => due_date
                                            [type] => DATE
                                            [value] => 20191208
                                            [compare] => >=
                                        )

                                )

                            [post__not_in] => Array
                                (
                                )

                        )

                    [1] => Array
                        (
                            [orderby] => Array
                                (
                                    [menu_order] => DESC
                                    [meta_value] => ASC
                                )

                            [post_type] => trips
                            [post_status] => publish
                            [tax_query] => Array
                                (
                                    [0] => Array
                                        (
                                            [taxonomy] => trips-locations
                                            [field] => id
                                            [terms] => 158
                                        )

                                )

                            [meta_query] => Array
                                (
                                    [0] => Array
                                        (
                                            [key] => trip_dates_0_leave
                                            [compare] => NOT EXISTS
                                        )

                                )

                            [post__not_in] => Array
                                (
                                )

                        )

                )

        )

    [sub_sql:protected] => Array
        (
            [0] => SELECT   wp_posts.* FROM wp_posts  LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1  AND ( 
  wp_term_relationships.term_taxonomy_id IN (158)
) AND ( 
  ( wp_postmeta.meta_key = 'trip_dates_0_leave' AND CAST(wp_postmeta.meta_value AS DATE) >= '20191208' ) 
  OR 
  ( wp_postmeta.meta_key = 'due_date' AND CAST(wp_postmeta.meta_value AS DATE) >= '20191208' )
) AND wp_posts.post_type = 'trips' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order ASC, CAST(wp_postmeta.meta_value AS DATE) ASC, wp_posts.post_date ASC LIMIT 1000
            [1] => SELECT   wp_posts.* FROM wp_posts  LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'trip_dates_0_leave' ) WHERE 1=1  AND ( 
  wp_term_relationships.term_taxonomy_id IN (158)
) AND ( 
  wp_postmeta.post_id IS NULL
) AND wp_posts.post_type = 'trips' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC, wp_postmeta.meta_value ASC LIMIT 1000
        )

    [sql:protected] => 
    [query] => Array
        (
            [post_type] => post
        )

    [query_vars] => Array
        (
            [post_type] => post
            [error] => 
            [m] => 
            [p] => 0
            [post_parent] => 
            [subpost] => 
            [subpost_id] => 
            [attachment] => 
            [attachment_id] => 0
            [name] => 
            [pagename] => 
            [page_id] => 0
            [second] => 
            [minute] => 
            [hour] => 
            [day] => 0
            [monthnum] => 0
            [year] => 0
            [w] => 0
            [category_name] => 
            [tag] => 
            [cat] => 
            [tag_id] => 
            [author] => 
            [author_name] => 
            [feed] => 
            [tb] => 
            [paged] => 0
            [meta_key] => 
            [meta_value] => 
            [preview] => 
            [s] => 
            [sentence] => 
            [title] => 
            [fields] => 
            [menu_order] => 
            [embed] => 
            [category__in] => Array
                (
                )

            [category__not_in] => Array
                (
                )

            [category__and] => Array
                (
                )

            [post__in] => Array
                (
                )

            [post__not_in] => Array
                (
                )

            [post_name__in] => Array
                (
                )

            [tag__in] => Array
                (
                )

            [tag__not_in] => Array
                (
                )

            [tag__and] => Array
                (
                )

            [tag_slug__in] => Array
                (
                )

            [tag_slug__and] => Array
                (
                )

            [post_parent__in] => Array
                (
                )

            [post_parent__not_in] => Array
                (
                )

            [author__in] => Array
                (
                )

            [author__not_in] => Array
                (
                )

            [ignore_sticky_posts] => 
            [suppress_filters] => 
            [cache_results] => 1
            [update_post_term_cache] => 1
            [lazy_load_term_meta] => 1
            [update_post_meta_cache] => 1
            [posts_per_page] => 10
            [nopaging] => 
            [comments_per_page] => 50
            [no_found_rows] => 
            [order] => DESC
        )

    [tax_query] => WP_Tax_Query Object
        (
            [queries] => Array
                (
                )

            [relation] => AND
            [table_aliases:protected] => Array
                (
                )

            [queried_terms] => Array
                (
                )

            [primary_table] => wp_posts
            [primary_id_column] => ID
        )

    [meta_query] => WP_Meta_Query Object
        (
            [queries] => Array
                (
                )

            [relation] => 
            [meta_table] => 
            [meta_id_column] => 
            [primary_table] => 
            [primary_id_column] => 
            [table_aliases:protected] => Array
                (
                )

            [clauses:protected] => Array
                (
                )

            [has_or_relation:protected] => 
        )

    [date_query] => 
    [request] => SELECT SQL_CALC_FOUND_ROWS * FROM ( (SELECT   wp_posts.* FROM wp_posts  LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1  AND ( 
  wp_term_relationships.term_taxonomy_id IN (158)
) AND ( 
  ( wp_postmeta.meta_key = 'trip_dates_0_leave' AND CAST(wp_postmeta.meta_value AS DATE) >= '20191208' ) 
  OR 
  ( wp_postmeta.meta_key = 'due_date' AND CAST(wp_postmeta.meta_value AS DATE) >= '20191208' )
) AND wp_posts.post_type = 'trips' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order ASC, CAST(wp_postmeta.meta_value AS DATE) ASC, wp_posts.post_date ASC LIMIT 1000) UNION (SELECT   wp_posts.* FROM wp_posts  LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) LEFT JOIN wp_postmeta ON (wp_posts.ID = wp_postmeta.post_id AND wp_postmeta.meta_key = 'trip_dates_0_leave' ) WHERE 1=1  AND ( 
  wp_term_relationships.term_taxonomy_id IN (158)
) AND ( 
  wp_postmeta.post_id IS NULL
) AND wp_posts.post_type = 'trips' AND ((wp_posts.post_status = 'publish')) GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order DESC, wp_postmeta.meta_value ASC LIMIT 1000 )  ) as combined LIMIT 0,10
    [posts] => Array
        (
            [0] => WP_Post Object
                (
                    [ID] => 3648
                    [post_author] => 12
                    [post_date] => 2016-04-11 12:01:07
                    [post_date_gmt] => 2016-04-11 10:01:07
                    [post_content] => הטיול לוייטנאם הוא מסע בעקבות טבע עוצר נשימה, נופים בתוליים, טרסות אורז מרהיבות, נהרות גועשים ומפרצים יפיפיים. המטייל בוייטנאם הולך בינות יופי בראשיתי ונפגש בפסיפס אנושי, אותנטי ומסביר פנים. תרבותה הייחודית והעשירה של וייטנאם מביאה סיפור היסטורי מרתק וכואב של מדינה שנאבקה על חירותה אלפי שנים.

קמבודיה "היפהפייה הטרגית של המזרח הרחוק" היא ארץ המקדשים המרהיבים ביותר בעולם - יצירה מופלאה ומרהיבה - אנגקור, מתחם מקדשים עתיק שנבנה לכבוד שושלת מלכי הקמר. קמבודיה הייתה אימפריה אדירה שחלשה על חלקים מוייטנאם, לאוס ותאילנד עד תחילת הכיבושים במאה ה-15, וכמו שכנתה וייטנאם גם בה התחוללה מלחמה עקובה מדם, מלחמת אחים ורצח עם.


                    [post_title] => טיול לוייטנאם וקמבודיה כולל שמורות טבע
                    [post_excerpt] => 
                    [post_status] => publish
                    [comment_status] => closed
                    [ping_status] => closed
                    [post_password] => 
                    [post_name] => %d7%98%d7%99%d7%95%d7%9c-%d7%9c%d7%95%d7%99%d7%99%d7%98%d7%a0%d7%90%d7%9d-%d7%95%d7%a7%d7%9e%d7%91%d7%95%d7%93%d7%99%d7%94
                    [to_ping] => 
                    [pinged] => 
                    [post_modified] => 2019-11-03 14:34:20
                    [post_modified_gmt] => 2019-11-03 12:34:20
                    [post_content_filtered] => 
                    [post_parent] => 0
                    [guid] => https://www.eco.co.il/?post_type=trips&p=3648
                    [menu_order] => 0
                    [post_type] => trips
                    [post_mime_type] => 
                    [comment_count] => 0
                    [filter] => raw
                )

            [1] => WP_Post Object
                (
                    [ID] => 12593
                    [post_author] => 12
                    [post_date] => 2017-11-20 09:28:30
                    [post_date_gmt] => 2017-11-20 07:28:30
                    [post_content] => ההיסטוריה עדיין חיה בווייטנאם, שתרבותה ייחודית ועשירה. רוב המבקרים במדינה עומדים משתאים מול יפי הטבע המעודן שלה: הדלתא של הנהר האדום בצפון, השפך של נהר מקונג בדרום וכמעט כל האזור משובצים בשדות אורז בירוק בוהק, שבהם עובדות נשים בכובעים המחודדים האופייניים.

קמבודיה, המדינה המודרנית שירשה את אימפריית חמר האדירה ששלטה ברוב השטח שבו שוכנות כיום וייטנאם, לאוס ותאילנד. המקדשים המפורסמים של אנגקור הם מוקדי המשיכה התיירותיים העיקריים בקמבודיה. המקדשים נבנו במאות ה-9-13 כדי לפאר את שמותיהם של המלכים לשושלת חמר.
                    [post_title] => טיול עצמאי לווייטנאם וקמבודיה
                    [post_excerpt] => 
                    [post_status] => publish
                    [comment_status] => closed
                    [ping_status] => closed
                    [post_password] => 
                    [post_name] => %d7%98%d7%99%d7%95%d7%9c-%d7%9c%d7%95%d7%99%d7%99%d7%98%d7%a0%d7%90%d7%9d-%d7%95%d7%a7%d7%9e%d7%91%d7%95%d7%93%d7%99%d7%94-2
                    [to_ping] => 
                    [pinged] => 
                    [post_modified] => 2018-11-06 08:41:36
                    [post_modified_gmt] => 2018-11-06 06:41:36
                    [post_content_filtered] => 
                    [post_parent] => 0
                    [guid] => https://www.eco.co.il/?post_type=trips&p=12593
                    [menu_order] => 0
                    [post_type] => trips
                    [post_mime_type] => 
                    [comment_count] => 0
                    [filter] => raw
                )

        )

    [post_count] => 2
    [current_post] => -1
    [in_the_loop] => 
    [post] => WP_Post Object
        (
            [ID] => 3648
            [post_author] => 12
            [post_date] => 2016-04-11 12:01:07
            [post_date_gmt] => 2016-04-11 10:01:07
            [post_content] => הטיול לוייטנאם הוא מסע בעקבות טבע עוצר נשימה, נופים בתוליים, טרסות אורז מרהיבות, נהרות גועשים ומפרצים יפיפיים. המטייל בוייטנאם הולך בינות יופי בראשיתי ונפגש בפסיפס אנושי, אותנטי ומסביר פנים. תרבותה הייחודית והעשירה של וייטנאם מביאה סיפור היסטורי מרתק וכואב של מדינה שנאבקה על חירותה אלפי שנים.

קמבודיה "היפהפייה הטרגית של המזרח הרחוק" היא ארץ המקדשים המרהיבים ביותר בעולם - יצירה מופלאה ומרהיבה - אנגקור, מתחם מקדשים עתיק שנבנה לכבוד שושלת מלכי הקמר. קמבודיה הייתה אימפריה אדירה שחלשה על חלקים מוייטנאם, לאוס ותאילנד עד תחילת הכיבושים במאה ה-15, וכמו שכנתה וייטנאם גם בה התחוללה מלחמה עקובה מדם, מלחמת אחים ורצח עם.


            [post_title] => טיול לוייטנאם וקמבודיה כולל שמורות טבע
            [post_excerpt] => 
            [post_status] => publish
            [comment_status] => closed
            [ping_status] => closed
            [post_password] => 
            [post_name] => %d7%98%d7%99%d7%95%d7%9c-%d7%9c%d7%95%d7%99%d7%99%d7%98%d7%a0%d7%90%d7%9d-%d7%95%d7%a7%d7%9e%d7%91%d7%95%d7%93%d7%99%d7%94
            [to_ping] => 
            [pinged] => 
            [post_modified] => 2019-11-03 14:34:20
            [post_modified_gmt] => 2019-11-03 12:34:20
            [post_content_filtered] => 
            [post_parent] => 0
            [guid] => https://www.eco.co.il/?post_type=trips&p=3648
            [menu_order] => 0
            [post_type] => trips
            [post_mime_type] => 
            [comment_count] => 0
            [filter] => raw
        )

    [comment_count] => 0
    [current_comment] => -1
    [found_posts] => 2
    [max_num_pages] => 1
    [max_num_comment_pages] => 0
    [is_single] => 
    [is_preview] => 
    [is_page] => 
    [is_archive] => 
    [is_date] => 
    [is_year] => 
    [is_month] => 
    [is_day] => 
    [is_time] => 
    [is_author] => 
    [is_category] => 
    [is_tag] => 
    [is_tax] => 
    [is_search] => 
    [is_feed] => 
    [is_comment_feed] => 
    [is_trackback] => 
    [is_home] => 1
    [is_privacy_policy] => 
    [is_404] => 
    [is_embed] => 
    [is_paged] => 
    [is_admin] => 
    [is_attachment] => 
    [is_singular] => 
    [is_robots] => 
    [is_posts_page] => 
    [is_post_type_archive] => 
    [query_vars_hash:WP_Query:private] => b45599e6aecbebed6bf077defb7f2e19
    [query_vars_changed:WP_Query:private] => 
    [thumbnails_cached] => 
    [stopwords:WP_Query:private] => 
    [compat_fields:WP_Query:private] => Array
        (
            [0] => query_vars_hash
            [1] => query_vars_changed
        )

    [compat_methods:WP_Query:private] => Array
        (
            [0] => init_query_flags
            [1] => parse_tax_query
        )

)

קמבודיה