{"id":1404245,"date":"2017-12-12T19:30:27","date_gmt":"2017-12-13T03:30:27","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/"},"modified":"2017-12-12T19:36:31","modified_gmt":"2017-12-13T03:36:31","slug":"deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/","title":{"rendered":"Deprecated PHP error in latest update 4.6.7 of The Events Calendar"},"content":{"rendered":"<p>PHP Notice:  \/home\/wdc_events\/events.stcwdc.org\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/TribeEvents.php is <strong>deprecated<\/strong> since version 3.10! Use Tribe__Events__Main instead. in \/home\/wdc_events\/events.stcwdc.org\/wp-includes\/functions.php on line 3966<\/p>\n<p>Note: Since this is a code error I have not tested with other plugins off or themes.<\/p>\n<p>The wp-includes\/functions.php file is a WordPress core file and line 3966 just says <code>}else{<\/code> in a function for deprecated file triggers. Apparently something in The Events Calendar plugin triggered this notice because something needs to be updated to use Tribe__Events__Main. I am surprised the plugin has been using whatever the deprecated code is since version 3.10.<\/p>\n<p>I have no idea how to fix it since the particular error is not identified and the line it is on hasn&#8217;t been identified. Is a fix for this coming out soon or can it be fixed in a child theme until the next update? <\/p>\n<p>Also, it took me a long time to be able to finish writing this up because when I&#8217;d start, a drop-down screen would cover the description box with lettering in white that was readable &#8220;Perhaps you might find your answer here&#8221; followed by several barely visible lines in pale blue on a dark gray background that I can&#8217;t read. I did try to click on one at random and it went back to a gripe from about four years ago from someone who complained that the support answer to a PHP deprecated notice was to just turn off the error reporting and go on using the deprecated code that was making his website look terrible with no information about how to fix it so his website worked better. That wasn&#8217;t of any help at all and I wondered why it was thought I might find it helpful. I kept clicking on the light gray link at the bottom of the screen that was supposed to let me continue my report but I couldn&#8217;t stop the drop-down from continuously dropping down until I was able to finally shock it with a hard click on the link that was supposed to let me continue with the support description and that seemed to lock it in place so I could continue writing. Suggestions: Use contrasting colors in your messages and links so we can read them on a dark background, and stop the continuous drop-down screen when we click on the &#8220;continue&#8221; link. White, bright yellow, or bright violet work best with a dark gray background. See attached. What you are using causes eye strain.<\/p>\n","protected":false},"template":"","class_list":["post-1404245","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>Deprecated PHP error in latest update 4.6.7 of The Events Calendar -<\/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\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deprecated PHP error in latest update 4.6.7 of The Events Calendar -\" \/>\n<meta property=\"og:description\" content=\"PHP Notice: \/home\/wdc_events\/events.stcwdc.org\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/TribeEvents.php is deprecated since version 3.10! Use Tribe__Events__Main instead. in \/home\/wdc_events\/events.stcwdc.org\/wp-includes\/functions.php on line 3966 Note: Since this is a code error I have not tested with other plugins off or themes. The wp-includes\/functions.php file is a WordPress core file and line 3966 just says }else{ in a function for deprecated file triggers. Apparently [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-13T03:36:31+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\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/\",\"name\":\"Deprecated PHP error in latest update 4.6.7 of The Events Calendar -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-12-13T03:30:27+00:00\",\"dateModified\":\"2017-12-13T03:36:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/#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\":\"Deprecated PHP error in latest update 4.6.7 of The Events Calendar\"}]},{\"@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":"Deprecated PHP error in latest update 4.6.7 of The Events Calendar -","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\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/","og_locale":"en_US","og_type":"article","og_title":"Deprecated PHP error in latest update 4.6.7 of The Events Calendar -","og_description":"PHP Notice: \/home\/wdc_events\/events.stcwdc.org\/wp-content\/plugins\/the-events-calendar\/src\/deprecated\/TribeEvents.php is deprecated since version 3.10! Use Tribe__Events__Main instead. in \/home\/wdc_events\/events.stcwdc.org\/wp-includes\/functions.php on line 3966 Note: Since this is a code error I have not tested with other plugins off or themes. The wp-includes\/functions.php file is a WordPress core file and line 3966 just says }else{ in a function for deprecated file triggers. Apparently [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/","article_modified_time":"2017-12-13T03:36:31+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\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/","name":"Deprecated PHP error in latest update 4.6.7 of The Events Calendar -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-12-13T03:30:27+00:00","dateModified":"2017-12-13T03:36:31+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/deprecated-php-error-in-latest-update-4-6-7-of-the-events-calendar\/#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":"Deprecated PHP error in latest update 4.6.7 of The Events Calendar"}]},{"@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\/1404245","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\/1404245\/revisions"}],"predecessor-version":[{"id":1404251,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1404245\/revisions\/1404251"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1404245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}