{"id":1598447,"date":"2018-08-15T14:05:53","date_gmt":"2018-08-15T21:05:53","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/"},"modified":"2018-08-15T14:05:53","modified_gmt":"2018-08-15T21:05:53","slug":"tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/","title":{"rendered":"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed"},"content":{"rendered":"<p>Hi there!<\/p>\n<p>On our website, we are experience an issue with the <code>Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets [src\/Tribe\/Commerce\/WooCommerce\/Main.php:2663]<\/code> method. Within this method, the Ticket Type is collected and a date range check is run via the <code>Tribe__Tickets__Ticket_Object-&gt;date_in_range [src\/Tribe\/Ticket_Object.php:298]<\/code> method.<\/p>\n<p>Despite the ticket start date being set in the future (August 24), and the end date being set beyond that (August 25), it is still giving us the following error in the cart once added: <\/p>\n<blockquote><p>The ticket: Signature Lash Course in Vancouver (August 24-25, 2018), in your cart is no longer available or valid. You need to remove it from your cart in order to continue.<\/p><\/blockquote>\n<p>Any idea why this might be occuring? It only seems to happen with this one specific ticket, but the others that <em>are<\/em> working appear to be identical other than the precise dates. I went through every single ticket and product setting and they really do look to be the same.<\/p>\n<p>When I dump the $start and $end values that are running through your <code>date_in_range<\/code> method, they do look incorrect, but I am unsure as to where the discrepancy is rooted.<\/p>\n<p>Let me know if you have any thoughts, hunches, or ideas to get to the bottom of this.<\/p>\n<p>Best regards.<\/p>\n","protected":false},"template":"","class_list":["post-1598447","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -\" \/>\n<meta property=\"og:description\" content=\"Hi there! On our website, we are experience an issue with the Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets [src\/Tribe\/Commerce\/WooCommerce\/Main.php:2663] method. Within this method, the Ticket Type is collected and a date range check is run via the Tribe__Tickets__Ticket_Object-&gt;date_in_range [src\/Tribe\/Ticket_Object.php:298] method. Despite the ticket start date being set in the future (August 24), and the end date being set beyond that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/\",\"name\":\"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-08-15T21:05:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/","og_locale":"en_US","og_type":"article","og_title":"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -","og_description":"Hi there! On our website, we are experience an issue with the Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets [src\/Tribe\/Commerce\/WooCommerce\/Main.php:2663] method. Within this method, the Ticket Type is collected and a date range check is run via the Tribe__Tickets__Ticket_Object-&gt;date_in_range [src\/Tribe\/Ticket_Object.php:298] method. Despite the ticket start date being set in the future (August 24), and the end date being set beyond that [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/","name":"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-08-15T21:05:53+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe__tickets_plus__commerce__woocommerce__main-validate_tickets-failed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"Tribe__Tickets_Plus__Commerce__WooCommerce__Main-&gt;validate_tickets Failed"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1598447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1598447\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1598447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}