{"id":1006240,"date":"2015-09-17T15:10:11","date_gmt":"2015-09-17T22:10:11","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/"},"modified":"2015-09-22T13:24:17","modified_gmt":"2015-09-22T20:24:17","slug":"fatal-error-class-tribe_template_factory-not-found-2","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/","title":{"rendered":"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found"},"content":{"rendered":"<p>This may be related to the ticket at https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-latest-update-site-says-nothing-found-error-log-is-full-of-calendar-probs\/ that I hadn&#8217;t noticed when I wrote that ticket. I was looking at my files and looked at the error_log to see if I was getting anymore errors since I reinstalled the earlier version of The Events Calendar to solve the problems caused by the update (https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-latest-update-site-says-nothing-found-error-log-is-full-of-calendar-probs\/). <\/p>\n<p>There were no new since retreating to the previous versions but I found the following added to the end of the log that I copied in the other ticket:<br \/>\n[11-Sep-2015 15:41:23 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 15:41:33 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 15:43:42 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 16:21:28 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 16:21:30 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 17:25:08 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 17:25:10 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 17:45:38 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 18:04:30 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 18:11:35 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 18:23:25 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 18:23:28 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 18:24:29 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 18:24:30 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 19:27:24 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 19:27:26 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 19:27:28 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 20:07:37 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 20:15:59 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 20:23:44 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 20:31:06 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 20:31:07 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 20:35:20 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 20:41:50 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 20:41:59 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 20:48:46 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<br \/>\n[11-Sep-2015 21:01:34 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 21:11:38 UTC] PHP Fatal error:  Call to undefined function tribe_get_start_date() in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 195<br \/>\n[11-Sep-2015 21:21:05 UTC] PHP Fatal error:  Class &#8216;Tribe_Template_Factory&#8217; not found in \/home\/stcwdc\/public_html\/events\/wp-content\/themes\/twentyeleven-child\/functions.php on line 95<\/p>\n<p>I am not getting this fatal error anymore since I dropped back to the previous version so it seems something in the new version was tripping up on this. I looked at my functions file in my child theme and it has the following fix that was added by support in response to an earlier problem I had. I don&#8217;t know if this fix should be deleted when the new release comes out or if it needs modifying because it seems the new version is looking for something on line 95<\/p>\n<p>85 &lt;?php<br \/>\n86 \/\/<br \/>\n87 \/\/ *************************************<br \/>\n88 \/\/ Events Calendar fix<br \/>\n89 \/\/ Ensures proper css and javascript have been enqueued in the theme header<br \/>\n90 \/\/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br \/>\n91 \/\/<br \/>\n92 add_action(&#8216;wp_enqueue_scripts&#8217;, &#8216;enqueue_month_view_scripts&#8217;);<br \/>\n93 function enqueue_month_view_scripts() {<br \/>\n94 if ( is_front_page() ) {<br \/>\n95 Tribe_Template_Factory::asset_package(&#8216;ajax-calendar&#8217;);<br \/>\n96Tribe_Template_Factory::asset_package(&#8216;events-css&#8217;);<br \/>\n97 }<br \/>\n98 }<br \/>\n99 ?&gt;<\/p>\n","protected":false},"template":"","class_list":["post-1006240","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>Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -<\/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\/fatal-error-class-tribe_template_factory-not-found-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -\" \/>\n<meta property=\"og:description\" content=\"This may be related to the ticket at https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-latest-update-site-says-nothing-found-error-log-is-full-of-calendar-probs\/ that I hadn&#8217;t noticed when I wrote that ticket. I was looking at my files and looked at the error_log to see if I was getting anymore errors since I reinstalled the earlier version of The Events Calendar to solve the problems caused by the update [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-09-22T20:24:17+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=\"5 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\/fatal-error-class-tribe_template_factory-not-found-2\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/\",\"name\":\"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2015-09-17T22:10:11+00:00\",\"dateModified\":\"2015-09-22T20:24:17+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/#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\":\"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found\"}]},{\"@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":"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -","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\/fatal-error-class-tribe_template_factory-not-found-2\/","og_locale":"en_US","og_type":"article","og_title":"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -","og_description":"This may be related to the ticket at https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-latest-update-site-says-nothing-found-error-log-is-full-of-calendar-probs\/ that I hadn&#8217;t noticed when I wrote that ticket. I was looking at my files and looked at the error_log to see if I was getting anymore errors since I reinstalled the earlier version of The Events Calendar to solve the problems caused by the update [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/","article_modified_time":"2015-09-22T20:24:17+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/","name":"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2015-09-17T22:10:11+00:00","dateModified":"2015-09-22T20:24:17+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-class-tribe_template_factory-not-found-2\/#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":"Fatal error: Class &#039;Tribe_Template_Factory&#039; not found"}]},{"@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\/1006240","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":2,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1006240\/revisions"}],"predecessor-version":[{"id":1006447,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1006240\/revisions\/1006447"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1006240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}