{"id":236263,"date":"2014-06-19T14:57:53","date_gmt":"2014-06-19T21:57:53","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/"},"modified":"2014-06-23T08:56:41","modified_gmt":"2014-06-23T15:56:41","slug":"function-problem-after-upgrade-tribe_is_week","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/","title":{"rendered":"Function problem after upgrade &#8211; tribe_is_week"},"content":{"rendered":"<p>Picked a slow time of day for the website to finally do the TEC &amp; ECP 3.6.1 upgrade on a very active site. I did the upgrade on my test site last week found &amp; fixed all the problems, so I knew what to expect &amp; how to fix it. Unfortunately, things didn&#8217;t work out the way I would have liked.<\/p>\n<p>After applying the updates all the fixes on the active site, I&#8217;m getting an error message, &#8220;Fatal error: Call to undefined function tribe_is_week()&#8221; and this coming from one of the theme include files which also references functions tribe_is_day and tribe_is_event_category. No problems with those two.<\/p>\n<p>I&#8217;m sure the problem is with ECP and not TEC because the TEC upgrade is in place and working. The odd thing is I never got that error on the test site which is a complete replica of the working site. Same *everything* &#8211; except for the fact that the update on the active site is being applied via the dashboard and on the test site it was done via upload.<\/p>\n<p>Is it possible that the dashboard upgrade is doing something to corrupt the files and causing the problem? BTW &#8211; I tried upgrading both ways &#8211; via the plugin panel &amp; via the updates section. <\/p>\n<p>Anybody else have this problem? Any ideas? <\/p>\n","protected":false},"template":"","class_list":["post-236263","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>Function problem after upgrade - tribe_is_week -<\/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\/function-problem-after-upgrade-tribe_is_week\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Function problem after upgrade - tribe_is_week -\" \/>\n<meta property=\"og:description\" content=\"Picked a slow time of day for the website to finally do the TEC &amp; ECP 3.6.1 upgrade on a very active site. I did the upgrade on my test site last week found &amp; fixed all the problems, so I knew what to expect &amp; how to fix it. Unfortunately, things didn&#8217;t work out [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-06-23T15:56:41+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\/function-problem-after-upgrade-tribe_is_week\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/\",\"name\":\"Function problem after upgrade - tribe_is_week -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-06-19T21:57:53+00:00\",\"dateModified\":\"2014-06-23T15:56:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/#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\":\"Function problem after upgrade &#8211; tribe_is_week\"}]},{\"@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":"Function problem after upgrade - tribe_is_week -","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\/function-problem-after-upgrade-tribe_is_week\/","og_locale":"en_US","og_type":"article","og_title":"Function problem after upgrade - tribe_is_week -","og_description":"Picked a slow time of day for the website to finally do the TEC &amp; ECP 3.6.1 upgrade on a very active site. I did the upgrade on my test site last week found &amp; fixed all the problems, so I knew what to expect &amp; how to fix it. Unfortunately, things didn&#8217;t work out [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/","article_modified_time":"2014-06-23T15:56:41+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\/function-problem-after-upgrade-tribe_is_week\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/","name":"Function problem after upgrade - tribe_is_week -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-06-19T21:57:53+00:00","dateModified":"2014-06-23T15:56:41+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/function-problem-after-upgrade-tribe_is_week\/#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":"Function problem after upgrade &#8211; tribe_is_week"}]},{"@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\/236263","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\/236263\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=236263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}