object(WP_Query)#32 (54) { ["query"]=> array(5) { ["post_type"]=> string(12) "incsub_event" ["posts_per_page"]=> int(500) ["post_status"]=> array(2) { [0]=> string(7) "publish" [1]=> string(9) "recurrent" } ["suppress_filters"]=> bool(false) ["meta_query"]=> array(3) { [0]=> array(4) { ["key"]=> string(18) "incsub_event_start" ["value"]=> string(15) "2020-01-01 0:00" ["compare"]=> string(1) "<" ["type"]=> string(8) "DATETIME" } [1]=> array(4) { ["key"]=> string(16) "incsub_event_end" ["value"]=> string(15) "2017-08-01 1:00" ["compare"]=> string(2) ">=" ["type"]=> string(8) "DATETIME" } [2]=> array(3) { ["key"]=> string(19) "incsub_event_status" ["value"]=> array(2) { [0]=> string(6) "closed" [1]=> string(7) "expired" } ["compare"]=> string(6) "NOT IN" } } } ["query_vars"]=> array(65) { ["post_type"]=> string(12) "incsub_event" ["posts_per_page"]=> int(500) ["post_status"]=> array(2) { [0]=> string(7) "publish" [1]=> string(9) "recurrent" } ["suppress_filters"]=> bool(false) ["meta_query"]=> array(3) { [0]=> array(4) { ["key"]=> string(18) "incsub_event_start" ["value"]=> string(15) "2020-01-01 0:00" ["compare"]=> string(1) "<" ["type"]=> string(8) "DATETIME" } [1]=> array(4) { ["key"]=> string(16) "incsub_event_end" ["value"]=> string(15) "2017-08-01 1:00" ["compare"]=> string(2) ">=" ["type"]=> string(8) "DATETIME" } [2]=> array(3) { ["key"]=> string(19) "incsub_event_status" ["value"]=> array(2) { [0]=> string(6) "closed" [1]=> string(7) "expired" } ["compare"]=> string(6) "NOT IN" } } ["error"]=> string(0) "" ["m"]=> string(0) "" ["p"]=> int(0) ["post_parent"]=> string(0) "" ["subpost"]=> string(0) "" ["subpost_id"]=> string(0) "" ["attachment"]=> string(0) "" ["attachment_id"]=> int(0) ["name"]=> string(0) "" ["static"]=> string(0) "" ["pagename"]=> string(0) "" ["page_id"]=> int(0) ["second"]=> string(0) "" ["minute"]=> string(0) "" ["hour"]=> string(0) "" ["day"]=> int(0) ["monthnum"]=> int(0) ["year"]=> int(0) ["w"]=> int(0) ["category_name"]=> string(0) "" ["tag"]=> string(0) "" ["cat"]=> string(0) "" ["tag_id"]=> string(0) "" ["author"]=> string(0) "" ["author_name"]=> string(0) "" ["feed"]=> string(0) "" ["tb"]=> string(0) "" ["paged"]=> int(0) ["comments_popup"]=> string(0) "" ["meta_key"]=> string(0) "" ["meta_value"]=> string(0) "" ["preview"]=> string(0) "" ["s"]=> string(0) "" ["sentence"]=> string(0) "" ["title"]=> string(0) "" ["fields"]=> string(0) "" ["menu_order"]=> string(0) "" ["category__in"]=> array(0) { } ["category__not_in"]=> array(0) { } ["category__and"]=> array(0) { } ["post__in"]=> array(0) { } ["post__not_in"]=> array(0) { } ["post_name__in"]=> array(0) { } ["tag__in"]=> array(0) { } ["tag__not_in"]=> array(0) { } ["tag__and"]=> array(0) { } ["tag_slug__in"]=> array(0) { } ["tag_slug__and"]=> array(0) { } ["post_parent__in"]=> array(0) { } ["post_parent__not_in"]=> array(0) { } ["author__in"]=> array(0) { } ["author__not_in"]=> array(0) { } ["ignore_sticky_posts"]=> bool(false) ["cache_results"]=> bool(true) ["update_post_term_cache"]=> bool(true) ["update_post_meta_cache"]=> bool(true) ["nopaging"]=> bool(false) ["comments_per_page"]=> string(2) "50" ["no_found_rows"]=> bool(false) ["order"]=> string(4) "DESC" } ["tax_query"]=> object(WP_Tax_Query)#39 (6) { ["queries"]=> array(0) { } ["relation"]=> string(3) "AND" ["table_aliases":protected]=> array(0) { } ["queried_terms"]=> array(0) { } ["primary_table"]=> string(8) "co_posts" ["primary_id_column"]=> string(2) "ID" } ["meta_query"]=> object(WP_Meta_Query)#38 (9) { ["queries"]=> array(4) { [0]=> array(4) { ["key"]=> string(18) "incsub_event_start" ["value"]=> string(15) "2020-01-01 0:00" ["compare"]=> string(1) "<" ["type"]=> string(8) "DATETIME" } [1]=> array(4) { ["key"]=> string(16) "incsub_event_end" ["value"]=> string(15) "2017-08-01 1:00" ["compare"]=> string(2) ">=" ["type"]=> string(8) "DATETIME" } [2]=> array(3) { ["key"]=> string(19) "incsub_event_status" ["value"]=> array(2) { [0]=> string(6) "closed" [1]=> string(7) "expired" } ["compare"]=> string(6) "NOT IN" } ["relation"]=> string(3) "AND" } ["relation"]=> string(3) "AND" ["meta_table"]=> string(11) "co_postmeta" ["meta_id_column"]=> string(7) "post_id" ["primary_table"]=> string(8) "co_posts" ["primary_id_column"]=> string(2) "ID" ["table_aliases":protected]=> array(3) { [0]=> string(11) "co_postmeta" [1]=> string(3) "mt1" [2]=> string(3) "mt2" } ["clauses":protected]=> array(3) { ["co_postmeta"]=> array(6) { ["key"]=> string(18) "incsub_event_start" ["value"]=> string(15) "2020-01-01 0:00" ["compare"]=> string(1) "<" ["type"]=> string(8) "DATETIME" ["alias"]=> string(11) "co_postmeta" ["cast"]=> string(8) "DATETIME" } ["mt1"]=> array(6) { ["key"]=> string(16) "incsub_event_end" ["value"]=> string(15) "2017-08-01 1:00" ["compare"]=> string(2) ">=" ["type"]=> string(8) "DATETIME" ["alias"]=> string(3) "mt1" ["cast"]=> string(8) "DATETIME" } ["mt2"]=> array(5) { ["key"]=> string(19) "incsub_event_status" ["value"]=> array(2) { [0]=> string(6) "closed" [1]=> string(7) "expired" } ["compare"]=> string(6) "NOT IN" ["alias"]=> string(3) "mt2" ["cast"]=> string(4) "CHAR" } } ["has_or_relation":protected]=> bool(false) } ["date_query"]=> bool(false) ["queried_object"]=> object(stdClass)#928 (26) { ["labels"]=> object(stdClass)#554 (24) { ["name"]=> string(6) "Events" ["singular_name"]=> string(5) "Event" ["add_new"]=> string(9) "Add Event" ["add_new_item"]=> string(13) "Add New Event" ["edit_item"]=> string(10) "Edit Event" ["new_item"]=> string(9) "New Event" ["view_item"]=> string(10) "View Event" ["search_items"]=> string(12) "Search Event" ["not_found"]=> string(14) "No event found" ["not_found_in_trash"]=> string(23) "No event found in Trash" ["parent_item_colon"]=> NULL ["all_items"]=> string(6) "Events" ["archives"]=> string(6) "Events" ["insert_into_item"]=> string(16) "Insert into post" ["uploaded_to_this_item"]=> string(21) "Uploaded to this post" ["featured_image"]=> string(14) "Featured Image" ["set_featured_image"]=> string(18) "Set featured image" ["remove_featured_image"]=> string(21) "Remove featured image" ["use_featured_image"]=> string(21) "Use as featured image" ["filter_items_list"]=> string(17) "Filter posts list" ["items_list_navigation"]=> string(21) "Posts list navigation" ["items_list"]=> string(10) "Posts list" ["menu_name"]=> string(6) "Events" ["name_admin_bar"]=> string(5) "Event" } ["description"]=> string(0) "" ["public"]=> bool(true) ["hierarchical"]=> bool(false) ["exclude_from_search"]=> bool(false) ["publicly_queryable"]=> bool(true) ["show_ui"]=> bool(true) ["show_in_menu"]=> bool(true) ["show_in_nav_menus"]=> bool(true) ["show_in_admin_bar"]=> bool(true) ["menu_position"]=> NULL ["menu_icon"]=> string(83) "http://calleocho.com/wp-content/plugins/events-and-bookings/img/small-greyscale.png" ["capability_type"]=> string(5) "event" ["map_meta_cap"]=> bool(true) ["register_meta_box_cb"]=> NULL ["taxonomies"]=> array(0) { } ["has_archive"]=> bool(true) ["rewrite"]=> array(5) { ["slug"]=> string(6) "events" ["with_front"]=> bool(false) ["pages"]=> bool(true) ["feeds"]=> bool(true) ["ep_mask"]=> int(1) } ["query_var"]=> string(12) "incsub_event" ["can_export"]=> bool(true) ["delete_with_user"]=> NULL ["_builtin"]=> bool(false) ["_edit_link"]=> string(16) "post.php?post=%d" ["name"]=> string(12) "incsub_event" ["cap"]=> object(stdClass)#562 (15) { ["edit_post"]=> string(10) "edit_event" ["read_post"]=> string(10) "read_event" ["delete_post"]=> string(12) "delete_event" ["edit_posts"]=> string(11) "edit_events" ["edit_others_posts"]=> string(18) "edit_others_events" ["publish_posts"]=> string(14) "publish_events" ["read_private_posts"]=> string(19) "read_private_events" ["read"]=> string(4) "read" ["delete_posts"]=> string(13) "delete_events" ["delete_private_posts"]=> string(21) "delete_private_events" ["delete_published_posts"]=> string(23) "delete_published_events" ["delete_others_posts"]=> string(20) "delete_others_events" ["edit_private_posts"]=> string(19) "edit_private_events" ["edit_published_posts"]=> string(21) "edit_published_events" ["create_posts"]=> string(11) "edit_events" } ["label"]=> string(6) "Events" } ["queried_object_id"]=> NULL ["request"]=> string(892) "SELECT SQL_CALC_FOUND_ROWS co_posts.* FROM co_posts INNER JOIN co_postmeta ON ( co_posts.ID = co_postmeta.post_id ) INNER JOIN co_postmeta AS mt1 ON ( co_posts.ID = mt1.post_id ) INNER JOIN co_postmeta AS mt2 ON ( co_posts.ID = mt2.post_id ) JOIN co_postmeta AS eab_meta ON (co_posts.ID = eab_meta.post_id) WHERE 1=1 AND ( ( co_postmeta.meta_key = 'incsub_event_start' AND CAST(co_postmeta.meta_value AS DATETIME) < '2020-01-01 0:00' ) AND ( mt1.meta_key = 'incsub_event_end' AND CAST(mt1.meta_value AS DATETIME) >= '2017-08-01 1:00' ) AND ( mt2.meta_key = 'incsub_event_status' AND CAST(mt2.meta_value AS CHAR) NOT IN ('closed','expired') ) ) AND co_posts.post_type = 'incsub_event' AND ((co_posts.post_status = 'publish' OR co_posts.post_status = 'recurrent')) AND eab_meta.meta_key='incsub_event_start' GROUP BY co_posts.ID ORDER BY eab_meta.meta_value ASC LIMIT 0, 500" ["posts"]=> array(1) { [0]=> object(WP_Post)#36 (24) { ["ID"]=> int(1425) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2016-06-27 02:31:45" ["post_date_gmt"]=> string(19) "2016-06-27 07:31:45" ["post_content"]=> string(31) "Every last Friday of the month." ["post_title"]=> string(16) "Cultural Fridays" ["post_excerpt"]=> string(31) "Every last Friday of the month." ["post_status"]=> string(7) "publish" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(18) "cultural-fridays-3" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2016-07-02 16:34:49" ["post_modified_gmt"]=> string(19) "2016-07-02 21:34:49" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(56) "http://calleocho.com/?post_type=incsub_event&p=1425" ["menu_order"]=> int(0) ["post_type"]=> string(12) "incsub_event" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } } ["post_count"]=> int(1) ["current_post"]=> int(-1) ["in_the_loop"]=> bool(false) ["post"]=> object(WP_Post)#36 (24) { ["ID"]=> int(1425) ["post_author"]=> string(1) "1" ["post_date"]=> string(19) "2016-06-27 02:31:45" ["post_date_gmt"]=> string(19) "2016-06-27 07:31:45" ["post_content"]=> string(31) "Every last Friday of the month." ["post_title"]=> string(16) "Cultural Fridays" ["post_excerpt"]=> string(31) "Every last Friday of the month." ["post_status"]=> string(7) "publish" ["comment_status"]=> string(4) "open" ["ping_status"]=> string(6) "closed" ["post_password"]=> string(0) "" ["post_name"]=> string(18) "cultural-fridays-3" ["to_ping"]=> string(0) "" ["pinged"]=> string(0) "" ["post_modified"]=> string(19) "2016-07-02 16:34:49" ["post_modified_gmt"]=> string(19) "2016-07-02 21:34:49" ["post_content_filtered"]=> string(0) "" ["post_parent"]=> int(0) ["guid"]=> string(56) "http://calleocho.com/?post_type=incsub_event&p=1425" ["menu_order"]=> int(0) ["post_type"]=> string(12) "incsub_event" ["post_mime_type"]=> string(0) "" ["comment_count"]=> string(1) "0" ["filter"]=> string(3) "raw" } ["comment_count"]=> int(0) ["current_comment"]=> int(-1) ["found_posts"]=> string(1) "1" ["max_num_pages"]=> float(1) ["max_num_comment_pages"]=> int(0) ["is_single"]=> bool(false) ["is_preview"]=> bool(false) ["is_page"]=> bool(false) ["is_archive"]=> bool(true) ["is_date"]=> bool(false) ["is_year"]=> bool(false) ["is_month"]=> bool(false) ["is_day"]=> bool(false) ["is_time"]=> bool(false) ["is_author"]=> bool(false) ["is_category"]=> bool(false) ["is_tag"]=> bool(false) ["is_tax"]=> bool(false) ["is_search"]=> bool(false) ["is_feed"]=> bool(false) ["is_comment_feed"]=> bool(false) ["is_trackback"]=> bool(false) ["is_home"]=> bool(false) ["is_404"]=> bool(false) ["is_embed"]=> bool(false) ["is_comments_popup"]=> bool(false) ["is_paged"]=> bool(false) ["is_admin"]=> bool(false) ["is_attachment"]=> bool(false) ["is_singular"]=> bool(false) ["is_robots"]=> bool(false) ["is_posts_page"]=> bool(false) ["is_post_type_archive"]=> bool(true) ["query_vars_hash":"WP_Query":private]=> string(32) "6bf3ff8e43fb69c74e0319301560f900" ["query_vars_changed":"WP_Query":private]=> bool(false) ["thumbnails_cached"]=> bool(false) ["updated_term_meta_cache"]=> bool(false) ["updated_comment_meta_cache"]=> bool(false) ["stopwords":"WP_Query":private]=> NULL ["compat_fields":"WP_Query":private]=> array(2) { [0]=> string(15) "query_vars_hash" [1]=> string(18) "query_vars_changed" } ["compat_methods":"WP_Query":private]=> array(2) { [0]=> string(16) "init_query_flags" [1]=> string(15) "parse_tax_query" } }