{"id":73648,"date":"2013-10-29T14:09:06","date_gmt":"2013-10-29T21:09:06","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/"},"modified":"2015-07-07T06:29:58","modified_gmt":"2015-07-07T13:29:58","slug":"single-quotes-causes-importing-of-eventbrite-events-to-fail","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/","title":{"rendered":"Single quotes causes importing of Eventbrite events to fail."},"content":{"rendered":"<p>So in the Eventbrite website:<\/p>\n<p>I had created a couple of events in our Eventbrite account which both linked to the same organizer. Now, the name of the organizer had an apostrophe in the title, which, would get converted into the following HTML entity: ampersand#8217; and this HTML entity would appear in labels and within HTML fields instead of being converted into the single quote.<\/p>\n<p>Eg. Runampersand#8217;s House (instead of Run&#8217;s House)<\/p>\n<p>I found this weird but paid no more mind to it.<\/p>\n<p>Now on our WordPress website:<\/p>\n<p>So when I&#8217;d try to import the events using the same organizer it would fail and I&#8217;d get the error:<\/p>\n<p>An error occurred while updating Eventbrite. Please review your information and try again.<br \/>\nError:<br \/>\nArray<\/p>\n<p>After trying a bunch of different things it turned out that the single quote (the one being turned into ampersand#8217;) in the title of the organizer on the Eventbrite website was causing all the problems. After removing the the single quote importing started to work.<\/p>\n<p>Now I can&#8217;t pinpoint the source of the problem with great exactitude but it seems to me like we have two problems:<\/p>\n<p>1) Eventbrite is converting single quotes into HTML entities and not escaping them within input fields, and thus, causes weird info to be saved when forms get submitted<\/p>\n<p>2) The Eventbrite Tickets Add on plugin gets tripped up by the HTML entity and can&#8217;t parse it , which causes imports to fail.<\/p>\n<p>Anyways, I think this is a bug and we should be able to save single quotes in our organizer title names.<\/p>\n","protected":false},"template":"","class_list":["post-73648","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>Single quotes causes importing of Eventbrite events to fail. -<\/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\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Single quotes causes importing of Eventbrite events to fail. -\" \/>\n<meta property=\"og:description\" content=\"So in the Eventbrite website: I had created a couple of events in our Eventbrite account which both linked to the same organizer. Now, the name of the organizer had an apostrophe in the title, which, would get converted into the following HTML entity: ampersand#8217; and this HTML entity would appear in labels and within [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/\" \/>\n<meta property=\"article:modified_time\" content=\"2015-07-07T13:29:58+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\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/\",\"name\":\"Single quotes causes importing of Eventbrite events to fail. -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2013-10-29T21:09:06+00:00\",\"dateModified\":\"2015-07-07T13:29:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/#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\":\"Ticket Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Eventbrite Tickets\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Single quotes causes importing of Eventbrite events to fail.\"}]},{\"@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":"Single quotes causes importing of Eventbrite events to fail. -","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\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/","og_locale":"en_US","og_type":"article","og_title":"Single quotes causes importing of Eventbrite events to fail. -","og_description":"So in the Eventbrite website: I had created a couple of events in our Eventbrite account which both linked to the same organizer. Now, the name of the organizer had an apostrophe in the title, which, would get converted into the following HTML entity: ampersand#8217; and this HTML entity would appear in labels and within [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/","article_modified_time":"2015-07-07T13:29:58+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\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/","name":"Single quotes causes importing of Eventbrite events to fail. -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2013-10-29T21:09:06+00:00","dateModified":"2015-07-07T13:29:58+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/single-quotes-causes-importing-of-eventbrite-events-to-fail\/#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":"Ticket Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/"},{"@type":"ListItem","position":4,"name":"Eventbrite Tickets","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/eventbrite-tickets\/"},{"@type":"ListItem","position":5,"name":"Single quotes causes importing of Eventbrite events to fail."}]},{"@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\/73648","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\/73648\/revisions"}],"predecessor-version":[{"id":982358,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/73648\/revisions\/982358"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=73648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}