{"id":1342523,"date":"2017-08-30T09:46:25","date_gmt":"2017-08-30T16:46:25","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/"},"modified":"2017-08-30T09:46:25","modified_gmt":"2017-08-30T16:46:25","slug":"fatal-error-28","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/","title":{"rendered":"Fatal Error"},"content":{"rendered":"<p>Hello I was previously running Events Calendar Pro &amp; Shopp Tickets.  Everything has been working fine until I updated WordPress this morning now I am getting an error: Fatal error: Class &#8216;Tribe__Events__Tickets__Tickets&#8217; not found in \/hermes\/walnaweb08a\/b1689\/pow.buffalomedianet\/htdocs\/hosted-sites\/nyafp\/wp-content\/plugins\/shopptickets\/src\/Tribe\/Main.php on line 2<\/p>\n<p>I have updated Events Calendar Pro to the current version.  I have the latest version of Shopp TIckets (but I also see that it is discountinued).<\/p>\n<p>I believe the issue is related to some lines of code I have in my functions.php file.  If I remove this file, the site itself will work as normal but it will not display the tickets. Here is the code I have in functions.php&#8230;<\/p>\n<pre><code>&lt;?php\n\n\/*\n * Removes the Google Calendar and iCal single event links\n *\/\n\nadd_action(&#039;tribe_events_single_event_before_the_content&#039;, &#039;tribe_remove_single_event_links&#039;);\n\nfunction tribe_remove_single_event_links () {\n\tremove_action( &#039;tribe_events_single_event_after_the_content&#039;, array( &#039;TribeiCal&#039;, &#039;single_event_links&#039; ) );\n}\n\n\/*\n * Uncomment the following action to add the Google Calendar Link\n *\/\n\n\/\/add_action(&#039;tribe_events_single_event_after_the_content&#039;, &#039;tribe_add_gcal_link&#039;);\n\nfunction tribe_add_gcal_link()\t{\n\n\t\/\/ don&#039;t show on password protected posts\n\tif (is_single() &amp;&amp; !post_password_required()) {\n\t\techo &#039;&lt;div class=&quot;tribe-events-cal-links&quot;&gt;&#039;;\n\t\techo &#039;&lt;a class=&quot;tribe-events-gcal tribe-events-button&quot; href=&quot;&#039; . tribe_get_gcal_link() . &#039;&quot; title=&quot;&#039; . __( &#039;Add to Google Calendar&#039;, &#039;tribe-events-calendar&#039; ) . &#039;&quot;&gt;+ &#039; . __( &#039;Google Calendar&#039;, &#039;tribe-events-calendar-pro&#039; ) . &#039;&lt;\/a&gt;&#039;;\n\t\techo &#039;&lt;\/div&gt;&lt;!-- .tribe-events-cal-links --&gt;&#039;;\n\t}\n\n}\n\n\/*\n * Uncomment the following action to add the iCal Link\n *\/\n\n\/\/add_action(&#039;tribe_events_single_event_after_the_content&#039;, &#039;tribe_add_ical_link&#039;);\n\nfunction tribe_add_ical_link()\t{\n\n\t\/\/ don&#039;t show on password protected posts\n\tif (is_single() &amp;&amp; !post_password_required()) {\n\t\techo &#039;&lt;div class=&quot;tribe-events-cal-links&quot;&gt;&#039;;\n\t\techo &#039;&lt;a class=&quot;tribe-events-ical tribe-events-button&quot; href=&quot;&#039; . tribe_get_single_ical_link() . &#039;&quot;&gt;+ &#039; . __( &#039;iCal Import&#039;, &#039;tribe-events-calendar&#039; ) . &#039;&lt;\/a&gt;&#039;;\n\t\techo &#039;&lt;\/div&gt;&lt;!-- .tribe-events-cal-links --&gt;&#039;;\n\t}\n\n}\n\nif (class_exists(&#039;TribeShoppTickets&#039;)) {\n  remove_action( &#039;tribe_events_single_event_after_the_meta&#039;, array( TribeShoppTickets::get_instance(), &#039;front_end_tickets_form&#039;), 5 );\n  add_action( &#039;tribe_events_single_event_after_the_content&#039;, array( TribeShoppTickets::get_instance(), &#039;front_end_tickets_form&#039;), 5 );\n}\n\nfunction tribe_shopptickets_custom_sort($p, $q) {\n        if ($p-&gt;ID &lt; $q-&gt;ID) return -1;\n        if ($p-&gt;ID &gt; $q-&gt;ID) return 1;\n        return 0;\n}\n?&gt;<\/code><\/pre>\n<p>Thanks,<br \/>\nDave<\/p>\n","protected":false},"template":"","class_list":["post-1342523","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 -<\/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-28\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fatal Error -\" \/>\n<meta property=\"og:description\" content=\"Hello I was previously running Events Calendar Pro &amp; Shopp Tickets. Everything has been working fine until I updated WordPress this morning now I am getting an error: Fatal error: Class &#8216;Tribe__Events__Tickets__Tickets&#8217; not found in \/hermes\/walnaweb08a\/b1689\/pow.buffalomedianet\/htdocs\/hosted-sites\/nyafp\/wp-content\/plugins\/shopptickets\/src\/Tribe\/Main.php on line 2 I have updated Events Calendar Pro to the current version. I have the latest version of [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/\" \/>\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\/fatal-error-28\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/\",\"name\":\"Fatal Error -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-08-30T16:46:25+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/#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\"}]},{\"@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 -","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-28\/","og_locale":"en_US","og_type":"article","og_title":"Fatal Error -","og_description":"Hello I was previously running Events Calendar Pro &amp; Shopp Tickets. Everything has been working fine until I updated WordPress this morning now I am getting an error: Fatal error: Class &#8216;Tribe__Events__Tickets__Tickets&#8217; not found in \/hermes\/walnaweb08a\/b1689\/pow.buffalomedianet\/htdocs\/hosted-sites\/nyafp\/wp-content\/plugins\/shopptickets\/src\/Tribe\/Main.php on line 2 I have updated Events Calendar Pro to the current version. I have the latest version of [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/","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\/fatal-error-28\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/","name":"Fatal Error -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-08-30T16:46:25+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/fatal-error-28\/#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"}]},{"@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\/1342523","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\/1342523\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1342523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}