{"id":1263166,"date":"2017-04-02T08:23:03","date_gmt":"2017-04-02T15:23:03","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/"},"modified":"2017-04-05T20:04:40","modified_gmt":"2017-04-06T03:04:40","slug":"ticket-bug","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/","title":{"rendered":"Ticket Bug"},"content":{"rendered":"<p>I&#8217;ve had numerous reports of users missing events from their &#8220;Events I&#8217;m Attending&#8221;, &#8211; I&#8217;ve actually reported it about a year ago but thought I figured it out &#8211; turn out I haven&#8217;t.<\/p>\n<p>So&#8230;<\/p>\n<p>I have confirmed that they are not in their events I&#8217;m attending. Also if they visit the event page it does not display &#8220;View Your Tickets&#8221;.<\/p>\n<p>I did see the orders were in their account and tickets show in the backend for admins in the attendee list.<\/p>\n<p>I checked the wp_post table and the Order ID was assigned the value of 0 &lt;b&gt;NOT&lt;\/b&gt; the user ID. Further research revealed that not only was the order being assigned the ID=0 but also the tickets in the wp_post_meta table also. This obviously results in tickets not being assigned to the user, the user thinks there was an error and they repurchase. Not cool!<\/p>\n<p>I have not been able to identify a root cause. We initially thought it was related to the cache run but we found instances where it didn&#8217;t occur when the cache was running. We also cleared the cache just to make sure it wasn&#8217;t something there either. Nope not that either.<\/p>\n<p>Also from my in-depth research it is not related to:<br \/>\nSet Users &#8211; sometimes it happens\/sometimes it doesn&#8217;t for a variety users. It does not occur for admins.<br \/>\nEvents &#8211; it effects different events existing and newly added<br \/>\nEvent Variables &#8211; Its happening to all events with various variables: Tickets vs RSVP, Global Stock Management, and if a manual order made etc. There is no catalyst for the event to start assigning ID=0 and it can assign it and then not assign ID=0.<br \/>\nPlugins &#8211; As you know testing for conflicts on a Production site is not feasible as it would significantly impact the website for users. I have not been able to replicate the issue myself on our test server trying all sorts of ways to create an example. Also the logs do not indicate any errors or issues arising on our Prod. So I&#8217;m leaning towards believing this is a bug vs conflict. Also another user also identified the same issue with tickets in the post_meta being assigned ID=0. I just can&#8217;t find the post on the forums \ud83d\ude41<\/p>\n<p>As you can see, I&#8217;ve spent considerable amount of my own time testing, scouring tables, checking for conflicts with plugins, checking logs, debug mode etc. trying to find the root cause. Maybe you guys can shed some light and check into for yourselves and see if you can find it. I have to believe that since there is someone else that there are probably more instances &#8211; it just hasn&#8217;t been identified yet.<\/p>\n<p>In the meantime, we have a script to repair the issue. I&#8217;ve included a list of instances where its happened in the past week in a private reply for you.<\/p>\n<p>Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1263166","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>Ticket Bug -<\/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\/ticket-bug\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ticket Bug -\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve had numerous reports of users missing events from their &#8220;Events I&#8217;m Attending&#8221;, &#8211; I&#8217;ve actually reported it about a year ago but thought I figured it out &#8211; turn out I haven&#8217;t. So&#8230; I have confirmed that they are not in their events I&#8217;m attending. Also if they visit the event page it does [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-06T03:04:40+00:00\" \/>\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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/\",\"name\":\"Ticket Bug -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-04-02T15:23:03+00:00\",\"dateModified\":\"2017-04-06T03:04:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/#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\":\"Ticket Bug\"}]},{\"@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":"Ticket Bug -","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\/ticket-bug\/","og_locale":"en_US","og_type":"article","og_title":"Ticket Bug -","og_description":"I&#8217;ve had numerous reports of users missing events from their &#8220;Events I&#8217;m Attending&#8221;, &#8211; I&#8217;ve actually reported it about a year ago but thought I figured it out &#8211; turn out I haven&#8217;t. So&#8230; I have confirmed that they are not in their events I&#8217;m attending. Also if they visit the event page it does [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/","article_modified_time":"2017-04-06T03:04:40+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/","name":"Ticket Bug -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-04-02T15:23:03+00:00","dateModified":"2017-04-06T03:04:40+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/ticket-bug\/#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":"Ticket Bug"}]},{"@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\/1263166","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":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1263166\/revisions"}],"predecessor-version":[{"id":1265555,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1263166\/revisions\/1265555"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1263166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}