{"id":1432989,"date":"2018-01-22T15:26:44","date_gmt":"2018-01-22T23:26:44","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/"},"modified":"2018-01-22T15:40:46","modified_gmt":"2018-01-22T23:40:46","slug":"new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/","title":{"rendered":"New deprecated things but these have no alternatives. What do I do now?"},"content":{"rendered":"<p>I seemed to have solved one deprecated notice but in solving that, I am now getting three more for functions in my child theme: <code>tribe_get_meta<\/code>, <code>Tribe__Events__Meta_Factory<\/code>, and <code>tribe_get_meta_group<\/code>. Each notice says there is no alternative. Do I still need something that solves what these functions solved or have the problems they solved been fixed?<\/p>\n<blockquote><p>[22-Jan-2018 17:48:05 UTC] PHP Notice:  tribe_get_meta is <strong>deprecated<\/strong> since version 4.3 with no alternative available. in \/wp-includes\/functions.php on line 3842<br \/>\n[22-Jan-2018 17:48:05 UTC] PHP Notice:  \/home\/wdc_events\/events.stcwdc.org\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/Tribe__Events__Meta_Factory.php is <strong>deprecated<\/strong> since version 4.3 with no alternative available. in \/wp-includes\/functions.php on line 3970<br \/>\n[22-Jan-2018 17:48:05 UTC] PHP Notice:  tribe_get_meta_group is <strong>deprecated<\/strong> since version 4.3 with no alternative available. in \/wp-includes\/functions.php on line 3842\n<\/p><\/blockquote>\n<p>I can&#8217;t fine the second term (Tribe__Events__Meta_Factory) used in any of the files in the tribe_events folder or in my child theme&#8217;s functions.php file.<\/p>\n<p>I found the first and third ones in two files customized in the child theme located in the tribe_events folder: single-venue.php and single-organizer.php.<br \/>\n<strong>single-venue.php:<\/strong><br \/>\n`       <\/p>\n<div class=\"tribe-events-event-meta\">\n<pre><code>            &lt;!-- Google Map Link --&gt;\n\n\n\n        &lt;!-- Venue Meta --&gt;\n\n\n\n\n    &lt;\/div&gt;&lt;!-- .tribe-events-event-meta --&gt;`\n<\/code><\/pre>\n<p><strong>single-organizer.php<\/strong><br \/>\n`               <!-- Organizer Meta --><\/p>\n<pre><code>            `\n<\/code><\/pre>\n<p>I also found it in the <strong>\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Main.php<\/strong> file<br \/>\n        \/**<br \/>\n         * Filters in a meta walker group for new items regarding the PRO addon.<br \/>\n         *<br \/>\n         * @param string $html The current HTML for the event meta..<br \/>\n         * @param int $event_id The post_id of the current event.<br \/>\n         *<br \/>\n         * @return string The modified HTML for the event meta.<br \/>\n         *\/<br \/>\n        public function single_event_the_meta_addon( $html, $event_id ) {<\/p>\n<pre><code>        \/\/ add custom meta if it's available\n        $html .= tribe_get_meta_group( 'tribe_event_group_custom_meta' );\n\n        return $html;\n    }\n<\/code><\/pre>\n<p>I&#8217;ve found two of them in customized files in my child theme and also used in the PRO plugin&#8217;s <strong>\/wp-content\/plugins\/events-calendar-pro\/src\/Tribe\/Main.php<\/strong> file, which is strange if they are deprecated. The only place I find the <code>Tribe__Events__Meta_Factory<\/code> is in the plugin&#8217;s file that says it is deprecated.<\/p>\n","protected":false},"template":"","class_list":["post-1432989","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>New deprecated things but these have no alternatives. What do I do now? -<\/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\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"New deprecated things but these have no alternatives. What do I do now? -\" \/>\n<meta property=\"og:description\" content=\"I seemed to have solved one deprecated notice but in solving that, I am now getting three more for functions in my child theme: tribe_get_meta, Tribe__Events__Meta_Factory, and tribe_get_meta_group. Each notice says there is no alternative. Do I still need something that solves what these functions solved or have the problems they solved been fixed? [22-Jan-2018 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-22T23:40:46+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\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/\",\"name\":\"New deprecated things but these have no alternatives. What do I do now? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-01-22T23:26:44+00:00\",\"dateModified\":\"2018-01-22T23:40:46+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/#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\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"New deprecated things but these have no alternatives. What do I do now?\"}]},{\"@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":"New deprecated things but these have no alternatives. What do I do now? -","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\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/","og_locale":"en_US","og_type":"article","og_title":"New deprecated things but these have no alternatives. What do I do now? -","og_description":"I seemed to have solved one deprecated notice but in solving that, I am now getting three more for functions in my child theme: tribe_get_meta, Tribe__Events__Meta_Factory, and tribe_get_meta_group. Each notice says there is no alternative. Do I still need something that solves what these functions solved or have the problems they solved been fixed? [22-Jan-2018 [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/","article_modified_time":"2018-01-22T23:40:46+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\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/","name":"New deprecated things but these have no alternatives. What do I do now? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-01-22T23:26:44+00:00","dateModified":"2018-01-22T23:40:46+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/new-deprecated-things-but-these-have-no-alternatives-what-do-i-do-now\/#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":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"New deprecated things but these have no alternatives. What do I do now?"}]},{"@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\/1432989","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\/1432989\/revisions"}],"predecessor-version":[{"id":1432997,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1432989\/revisions\/1432997"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1432989"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}