{"id":25769,"date":"2012-09-26T18:35:37","date_gmt":"2012-09-27T01:35:37","guid":{"rendered":"http:\/\/tri.be\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/"},"modified":"2012-09-26T18:35:37","modified_gmt":"2012-09-27T01:35:37","slug":"i-screwed-up-a-php-file-and-need-help","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/","title":{"rendered":"I screwed up a php file and need help"},"content":{"rendered":"<p>I have a problem with my site.  I was in the forum last nite and read a post about making the calendar widget clickable.  I tried and screwed something up.  Now my site is a mess.  Will support cover this?<\/p>\n<p>I took the code at this link below and tried to input it into events-calendar-pro\/lib\/widget-calendar.class.php.<\/p>\n<p>https:\/\/gist.github.com\/2293961<\/p>\n<p>No luck.  I did not save the original php.  I thought that I pasted it and when it did not work I simply deleted what I added and everything would be fine, but it wasn&#8217;t.  I do not think i left any of this code and do not think I deleted any extra.<\/p>\n<p>Then i got this error<\/p>\n<p>Parse error: syntax error, unexpected $end in \/home\/borolife\/public_html\/wp-content\/plugins\/events-calendar-pro\/lib\/widget-calendar.class.php on line 121<\/p>\n<p>So i deleted events calendar pro and reinstalled to see if defaults would fix all.  No luck<\/p>\n<p>now I can see some of my homepage but get this in the body. (also menu is screwed up)<br \/>\nFatal error: Call to undefined function dynamic_content_gallery() in \/home\/borolife\/public_html\/wp-content\/themes\/jaxx\/index.php on line 8<\/p>\n<p>currently site will show typical user that it is in maintenance mode.<\/p>\n","protected":false},"template":"","class_list":["post-25769","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>I screwed up a php file and need help -<\/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\/i-screwed-up-a-php-file-and-need-help\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"I screwed up a php file and need help -\" \/>\n<meta property=\"og:description\" content=\"I have a problem with my site. I was in the forum last nite and read a post about making the calendar widget clickable. I tried and screwed something up. Now my site is a mess. Will support cover this? I took the code at this link below and tried to input it into events-calendar-pro\/lib\/widget-calendar.class.php. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/\" \/>\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\/i-screwed-up-a-php-file-and-need-help\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/\",\"name\":\"I screwed up a php file and need help -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2012-09-27T01:35:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/#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\":\"I screwed up a php file and need help\"}]},{\"@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":"I screwed up a php file and need help -","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\/i-screwed-up-a-php-file-and-need-help\/","og_locale":"en_US","og_type":"article","og_title":"I screwed up a php file and need help -","og_description":"I have a problem with my site. I was in the forum last nite and read a post about making the calendar widget clickable. I tried and screwed something up. Now my site is a mess. Will support cover this? I took the code at this link below and tried to input it into events-calendar-pro\/lib\/widget-calendar.class.php. [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/","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\/i-screwed-up-a-php-file-and-need-help\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/","name":"I screwed up a php file and need help -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2012-09-27T01:35:37+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/i-screwed-up-a-php-file-and-need-help\/#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":"I screwed up a php file and need help"}]},{"@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\/25769","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\/25769\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=25769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}