{"id":1129296,"date":"2016-06-20T09:11:46","date_gmt":"2016-06-20T16:11:46","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/"},"modified":"2016-06-20T09:11:46","modified_gmt":"2016-06-20T16:11:46","slug":"bug-ticket-sales-and-stock-filter-not-showing","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/","title":{"rendered":"Bug: ticket sales and stock filter not showing"},"content":{"rendered":"<p>Hi,<\/p>\n<p>showing the actual ticket sales and stock with the APM filters is a very useful feature.<br \/>\nUnfortunately it does not work with 4.2 anymore.<br \/>\nThe reason is the following:<br \/>\nThe constructor in .\\wp-content\\plugins\\event-tickets-plus\\src\\Tribe\\APM.php<br \/>\nchecks for the existance of the class Tribe__Events__Pro__APM_Filters__APM_Filters.<br \/>\nBut this class will be constructed only later on in<br \/>\n.\\wp-content\\plugins\\events-calendar-pro\\src\\Tribe\\Main.php (line 1662)<br \/>\nbased on the hook &#8216;plugins_loaded&#8217; (line 182) which only fires<br \/>\nAFTER all plugins are loaded.<\/p>\n<p>Would be great if you could fix this little defect in the next version.<br \/>\nGreat software anyway! Thanks! <\/p>\n<p>Regards,<br \/>\nThomas<\/p>\n","protected":false},"template":"","class_list":["post-1129296","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>Bug: ticket sales and stock filter not showing -<\/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\/bug-ticket-sales-and-stock-filter-not-showing\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bug: ticket sales and stock filter not showing -\" \/>\n<meta property=\"og:description\" content=\"Hi, showing the actual ticket sales and stock with the APM filters is a very useful feature. Unfortunately it does not work with 4.2 anymore. The reason is the following: The constructor in .wp-contentpluginsevent-tickets-plussrcTribeAPM.php checks for the existance of the class Tribe__Events__Pro__APM_Filters__APM_Filters. But this class will be constructed only later on in .wp-contentpluginsevents-calendar-prosrcTribeMain.php (line 1662) [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/\" \/>\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\/bug-ticket-sales-and-stock-filter-not-showing\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/\",\"name\":\"Bug: ticket sales and stock filter not showing -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-06-20T16:11:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/#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\":\"Bug: ticket sales and stock filter not showing\"}]},{\"@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":"Bug: ticket sales and stock filter not showing -","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\/bug-ticket-sales-and-stock-filter-not-showing\/","og_locale":"en_US","og_type":"article","og_title":"Bug: ticket sales and stock filter not showing -","og_description":"Hi, showing the actual ticket sales and stock with the APM filters is a very useful feature. Unfortunately it does not work with 4.2 anymore. The reason is the following: The constructor in .wp-contentpluginsevent-tickets-plussrcTribeAPM.php checks for the existance of the class Tribe__Events__Pro__APM_Filters__APM_Filters. But this class will be constructed only later on in .wp-contentpluginsevents-calendar-prosrcTribeMain.php (line 1662) [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/","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\/bug-ticket-sales-and-stock-filter-not-showing\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/","name":"Bug: ticket sales and stock filter not showing -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-06-20T16:11:46+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/bug-ticket-sales-and-stock-filter-not-showing\/#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":"Bug: ticket sales and stock filter not showing"}]},{"@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\/1129296","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\/1129296\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1129296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}