{"id":1115659,"date":"2016-05-17T15:08:54","date_gmt":"2016-05-17T22:08:54","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/"},"modified":"2016-05-19T17:50:22","modified_gmt":"2016-05-20T00:50:22","slug":"after-update-widgets-broken-2","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/","title":{"rendered":"After update, widgets broken"},"content":{"rendered":"<p>After updating to the latest version, the widgets don\u2019t show and in fact are breaking the site (nothing after the widget is loaded into the page).<\/p>\n<p>In my WordPress debug.log, I have this string of notices:<\/p>\n<pre><code>[18-Mar-2016 14:41:31 UTC] PHP Notice: get_theme_data is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.4! Use wp_get_theme() instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3573\n[18-Mar-2016 14:41:31 UTC] PHP Strict Standards: Redefining already defined constructor for class myCustomFields in \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/themes\/bigbangwp\/includes\/bra_custom_fields.php on line 173\n[18-Mar-2016 14:41:31 UTC] PHP Notice: The called constructor method for WP_Widget is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 4.3.0! Use &lt;pre&gt;__construct()&lt;\/pre&gt; instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3624\n[18-Mar-2016 14:41:31 UTC] PHP Notice: \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/plugins\/events-calendar-pro\/src\/deprecated\/TribeEventsPro.php is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.10! Use Tribe__Events__Pro__Main instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3677\n[18-Mar-2016 14:41:31 UTC] PHP Notice: \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/plugins\/events-calendar-pro\/src\/deprecated\/TribeEventsPro_RecurrenceInstance.php is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.10! Use Tribe__Events__Pro__Recurrence__Instance instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3677\n[18-Mar-2016 14:41:35 UTC] PHP Notice: Undefined index: obsres_debug in \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/plugins\/wcg-ob-res-api\/wcg-ob-res-api.php on line 38\n[18-Mar-2016 14:41:36 UTC] PHP Notice: get_theme_data is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.4! Use wp_get_theme() instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3573\n[18-Mar-2016 14:41:36 UTC] PHP Strict Standards: Redefining already defined constructor for class myCustomFields in \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/themes\/bigbangwp\/includes\/bra_custom_fields.php on line 173\n[18-Mar-2016 14:41:36 UTC] PHP Notice: The called constructor method for WP_Widget is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 4.3.0! Use &lt;pre&gt;__construct()&lt;\/pre&gt; instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3624\n[18-Mar-2016 14:41:36 UTC] PHP Notice: \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/plugins\/events-calendar-pro\/src\/deprecated\/TribeEventsPro.php is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.10! Use Tribe__Events__Pro__Main instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3677\n[18-Mar-2016 14:41:36 UTC] PHP Notice: \/Users\/aaron\/Sites\/www-nysci-org\/wp-content\/plugins\/events-calendar-pro\/src\/deprecated\/TribeEventsPro_RecurrenceInstance.php is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.10! Use Tribe__Events__Pro__Recurrence__Instance instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3677<\/code><\/pre>\n<p>It\u2019s weird that the latest version of the plugin is complaining about itself that its deprecated \u2026 there must be a quick fix to this. Help?<\/p>\n<p>I did, by the way, switch to TwentySixteen and the widgets work. But since the only errors I have to work from are those above, which are confusing (and since the plugin worked with the theme before the plugin upgrade) I\u2019m hoping you can give me some ideas of where to start solving.<\/p>\n<p><strong>New Note:<\/strong> I did <a href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken\/#post-1091111\">post this same topic<\/a> a couple of months ago, but missed the email of the reply. In that reply, Geoff B wrote &#8220;What might be going on though is that, if you have template customizations in place (found in the \/tribe-events\/ folder of your WordPress theme), you might need to update the call to these deprecated functions by calls to newer ones.&#8221;<\/p>\n<p>I grepped for a couple of the functions mentioned in the error notices, and they didn&#8217;t turn up in my theme folder. Another clue may be that it&#8217;s the widget causing the problem. And I haven&#8217;t customized the widgets.<\/p>\n<p>p.s. I say that this is for nysciwww, which I&#8217;m running locally, but the problem also occurs on the live site, nysci.org, which is identical in that they are both connected via git.<\/p>\n<p>Help! Thanks!<\/p>\n","protected":false},"template":"","class_list":["post-1115659","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>After update, widgets broken -<\/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\/after-update-widgets-broken-2\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"After update, widgets broken -\" \/>\n<meta property=\"og:description\" content=\"After updating to the latest version, the widgets don\u2019t show and in fact are breaking the site (nothing after the widget is loaded into the page). In my WordPress debug.log, I have this string of notices: [18-Mar-2016 14:41:31 UTC] PHP Notice: get_theme_data is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.4! Use wp_get_theme() instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3573 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-05-20T00:50:22+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=\"3 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\/after-update-widgets-broken-2\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/\",\"name\":\"After update, widgets broken -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-05-17T22:08:54+00:00\",\"dateModified\":\"2016-05-20T00:50:22+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-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\":\"After update, widgets broken\"}]},{\"@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":"After update, widgets broken -","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\/after-update-widgets-broken-2\/","og_locale":"en_US","og_type":"article","og_title":"After update, widgets broken -","og_description":"After updating to the latest version, the widgets don\u2019t show and in fact are breaking the site (nothing after the widget is loaded into the page). In my WordPress debug.log, I have this string of notices: [18-Mar-2016 14:41:31 UTC] PHP Notice: get_theme_data is &lt;strong&gt;deprecated&lt;\/strong&gt; since version 3.4! Use wp_get_theme() instead. in \/Users\/aaron\/Sites\/www-nysci-org\/wp-includes\/functions.php on line 3573 [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/","article_modified_time":"2016-05-20T00:50:22+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/","name":"After update, widgets broken -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-05-17T22:08:54+00:00","dateModified":"2016-05-20T00:50:22+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-2\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/after-update-widgets-broken-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":"After update, widgets broken"}]},{"@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\/1115659","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\/1115659\/revisions"}],"predecessor-version":[{"id":1115719,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1115659\/revisions\/1115719"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1115659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}