{"id":922431,"date":"2014-12-18T05:56:20","date_gmt":"2014-12-18T13:56:20","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/"},"modified":"2015-01-22T15:52:34","modified_gmt":"2015-01-22T23:52:34","slug":"tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/","title":{"rendered":"tribe_eb_is_live_event throws a Fatal Error in the latest update"},"content":{"rendered":"<p>Updating <strong>The Events Calendar: Eventbrite Tickets<\/strong> to 3.9 has broken one of our clients websites.<\/p>\n<p>The update seems to have updated lots of method calls to be non-static and then the public template API (<code>tribe_eb_is_live_event<\/code> in this case) is actually calling <code>Event_Tickets_PRO::isLive()<\/code> as if it were a static method when it is not, and then the update to 3.9 has updated the methods used inside <code>isLive<\/code> to be non-static which would then produce a fatal error breaking any website that uses any public API template tags. Not great karma seeing untested paid plugins.<\/p>\n<p>crhallen (rightfully) pointed this out this issue in <a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-calling-tribe_eb_is_live_event-tribe_eb_get_ticket_count\/\">this forum topic<\/a> but Brian is giving out incorrect advice suggesting that he actually use the non-public API instead and the template tags which are created as a wrapper for the end-user and is less prone to breakages such as the latest update, or at least in theory.<\/p>\n<p>Brian also suggested that those template tags have been deprecated in the 3.xx series. Then why aren&#8217;t they marked as such when I enable WP_DEBUG?<\/p>\n","protected":false},"template":"","class_list":["post-922431","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_eb_is_live_event throws a Fatal Error in the latest update -<\/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_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"tribe_eb_is_live_event throws a Fatal Error in the latest update -\" \/>\n<meta property=\"og:description\" content=\"Updating The Events Calendar: Eventbrite Tickets to 3.9 has broken one of our clients websites. The update seems to have updated lots of method calls to be non-static and then the public template API (tribe_eb_is_live_event in this case) is actually calling Event_Tickets_PRO::isLive() as if it were a static method when it is not, and then [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-01-22T23:52:34+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=\"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_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/\",\"name\":\"tribe_eb_is_live_event throws a Fatal Error in the latest update -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-12-18T13:56:20+00:00\",\"dateModified\":\"2015-01-22T23:52:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/#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\":\"Eventbrite Tickets\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"tribe_eb_is_live_event throws a Fatal Error in the latest update\"}]},{\"@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_eb_is_live_event throws a Fatal Error in the latest update -","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_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/","og_locale":"en_US","og_type":"article","og_title":"tribe_eb_is_live_event throws a Fatal Error in the latest update -","og_description":"Updating The Events Calendar: Eventbrite Tickets to 3.9 has broken one of our clients websites. The update seems to have updated lots of method calls to be non-static and then the public template API (tribe_eb_is_live_event in this case) is actually calling Event_Tickets_PRO::isLive() as if it were a static method when it is not, and then [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/","article_modified_time":"2015-01-22T23:52:34+00:00","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_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/","name":"tribe_eb_is_live_event throws a Fatal Error in the latest update -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-12-18T13:56:20+00:00","dateModified":"2015-01-22T23:52:34+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/tribe_eb_is_live_event-throws-a-fatal-error-in-the-latest-update\/#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":"Eventbrite Tickets","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/"},{"@type":"ListItem","position":5,"name":"tribe_eb_is_live_event throws a Fatal Error in the latest update"}]},{"@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\/922431","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\/922431\/revisions"}],"predecessor-version":[{"id":922439,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/922431\/revisions\/922439"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=922431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}