{"id":1217924,"date":"2017-01-13T01:27:03","date_gmt":"2017-01-13T09:27:03","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/"},"modified":"2017-01-13T01:36:57","modified_gmt":"2017-01-13T09:36:57","slug":"selling-tickets-with-edd-getting-error-normal-products-work-fine","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/","title":{"rendered":"additional fields with EDD not appearing and getting error, buying works fine"},"content":{"rendered":"<p>Hey I have tested both WooCommerce and WP eCommerce and they seem to work fine, but I really like to use Easy Digital Downloads because I am only going to sell tickets and this plugin seem to only cover what I need and not so much more that I will never need. <\/p>\n<p>But I get the following error on the single tickets page and the additional ticket fieldset will not show when trying to buy a ticket<\/p>\n<p><code>Catchable fatal error: Object of class WP_Post could not be converted to string in \/home\/alloy\/domains\/alloy.work\/public_html\/jam-test\/wp-content\/plugins\/easy-digital-downloads\/includes\/download-functions.php on line 189<\/code> <\/p>\n<p>the line of code on 189 <code>$formatted_price = &#039;&lt;span class=&quot;edd_price&quot; id=&quot;edd_price_&#039; . $download_id . &#039;&quot;&gt;&#039; . $price . &#039;&lt;\/span&gt;&#039;;<\/code><\/p>\n<p>If I increment the number in the input field and hit enter I will be redirected to the check out page and every thing seems to work find, but I don&#8217;t have a add to cart button and there are no additional fields shown. If I disable the additional fields the error is the same and still no add to cart button (the layout seems overal broken, but that is what PHP does when it encounters an error right?)<\/p>\n<p>I have also contacted the developer of EDD, but they think it has to do with your plugin instead of theirs. There are no error on the &#8220;normal&#8221; products page of EDD <\/p>\n<blockquote><p> That&#8217;s strange. Do you have any form of this issue when you use EDD as-is without Event Tickets Plus? To me, this sounds like something in the ticketing system is the root of the error. If so, you will need to contact Modern Tribe support.<\/p>\n<p>Let me know if you get the same behavior following similar actions in EDD without the extension activated.<\/p><\/blockquote>\n<p>Any tips?<\/p>\n","protected":false},"template":"","class_list":["post-1217924","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>additional fields with EDD not appearing and getting error, buying works fine -<\/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\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"additional fields with EDD not appearing and getting error, buying works fine -\" \/>\n<meta property=\"og:description\" content=\"Hey I have tested both WooCommerce and WP eCommerce and they seem to work fine, but I really like to use Easy Digital Downloads because I am only going to sell tickets and this plugin seem to only cover what I need and not so much more that I will never need. But I get [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/\" \/>\n<meta property=\"article:modified_time\" content=\"2017-01-13T09:36:57+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\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/\",\"name\":\"additional fields with EDD not appearing and getting error, buying works fine -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-01-13T09:27:03+00:00\",\"dateModified\":\"2017-01-13T09:36:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/#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\":\"Event Tickets Plus\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"additional fields with EDD not appearing and getting error, buying works fine\"}]},{\"@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":"additional fields with EDD not appearing and getting error, buying works fine -","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\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/","og_locale":"en_US","og_type":"article","og_title":"additional fields with EDD not appearing and getting error, buying works fine -","og_description":"Hey I have tested both WooCommerce and WP eCommerce and they seem to work fine, but I really like to use Easy Digital Downloads because I am only going to sell tickets and this plugin seem to only cover what I need and not so much more that I will never need. But I get [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/","article_modified_time":"2017-01-13T09:36:57+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\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/","name":"additional fields with EDD not appearing and getting error, buying works fine -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-01-13T09:27:03+00:00","dateModified":"2017-01-13T09:36:57+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/selling-tickets-with-edd-getting-error-normal-products-work-fine\/#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":"Event Tickets Plus","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/event-tickets\/event-tickets-plus\/"},{"@type":"ListItem","position":5,"name":"additional fields with EDD not appearing and getting error, buying works fine"}]},{"@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\/1217924","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\/1217924\/revisions"}],"predecessor-version":[{"id":1217942,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1217924\/revisions\/1217942"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1217924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}