{"id":412844,"date":"2014-07-16T09:30:38","date_gmt":"2014-07-16T16:30:38","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/problem-on-widgets-php\/"},"modified":"2014-08-28T06:43:18","modified_gmt":"2014-08-28T13:43:18","slug":"problem-on-widgets-php","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/","title":{"rendered":"Problem on widgets.php"},"content":{"rendered":"<p>Since I added a countdown as a widget I no longer can edit widget area in WP admin. The Widgets page in WP admin is not fully loaded and Firebug console returns NetworkError: 500 Internal Server Error; Frontend works fine, but no edits are possible through Dashboard. Here&#8217;s the error_log:<br \/>\n[16-Jul-2014 02:56:22 UTC] PHP Fatal error:  Uncaught exception &#8216;Exception&#8217; with message &#8216;DateTime::__construct(): Failed to parse time string (23f6cd3c83a1b050acfd97eac09dbbc1) at position 0 (2): Unexpected character&#8217; in &#8230;\/wp-content\/plugins\/events-calendar-pro\/admin-views\/widget-admin-countdown.php:17<br \/>\nStack trace:<br \/>\n#0 &#8230;\/wp-content\/plugins\/events-calendar-pro\/admin-views\/widget-admin-countdown.php(17): DateTime-&gt;__construct(&#8217;23f6cd3c83a1b05&#8230;&#8217;)<br \/>\n#1 &#8230;\/wp-content\/plugins\/events-calendar-pro\/lib\/widget-countdown.class.php(53): include(&#8216;\/home\/masterns\/&#8230;&#8217;)<br \/>\n#2 &#8230;\/wp-includes\/widgets.php(344): TribeCountdownWidget-&gt;form(Array)<br \/>\n#3 [internal function]: WP_Widget-&gt;form_callback(Array)<br \/>\n#4 &#8230;\/wp-admin\/includes\/widgets.php(209): call_user_func_array(Array, Array)<br \/>\n#5 [internal function]: wp_widget_control(Array, Array)<br \/>\n#6 \/home\/mas in &#8230;\/wp-content\/plugins\/events-calendar-pro\/admin-views\/widget-admin-countdown.php on line 17<\/p>\n","protected":false},"template":"","class_list":["post-412844","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>Problem on widgets.php -<\/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\/problem-on-widgets-php\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Problem on widgets.php -\" \/>\n<meta property=\"og:description\" content=\"Since I added a countdown as a widget I no longer can edit widget area in WP admin. The Widgets page in WP admin is not fully loaded and Firebug console returns NetworkError: 500 Internal Server Error; Frontend works fine, but no edits are possible through Dashboard. Here&#8217;s the error_log: [16-Jul-2014 02:56:22 UTC] PHP Fatal [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-08-28T13:43:18+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\/problem-on-widgets-php\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/\",\"name\":\"Problem on widgets.php -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-07-16T16:30:38+00:00\",\"dateModified\":\"2014-08-28T13:43:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/#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\":\"Problem on widgets.php\"}]},{\"@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":"Problem on widgets.php -","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\/problem-on-widgets-php\/","og_locale":"en_US","og_type":"article","og_title":"Problem on widgets.php -","og_description":"Since I added a countdown as a widget I no longer can edit widget area in WP admin. The Widgets page in WP admin is not fully loaded and Firebug console returns NetworkError: 500 Internal Server Error; Frontend works fine, but no edits are possible through Dashboard. Here&#8217;s the error_log: [16-Jul-2014 02:56:22 UTC] PHP Fatal [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/","article_modified_time":"2014-08-28T13:43:18+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\/problem-on-widgets-php\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/","name":"Problem on widgets.php -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-07-16T16:30:38+00:00","dateModified":"2014-08-28T13:43:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/problem-on-widgets-php\/#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":"Problem on widgets.php"}]},{"@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\/412844","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\/412844\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=412844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}