{"id":1203550,"date":"2016-12-08T14:43:30","date_gmt":"2016-12-08T22:43:30","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/"},"modified":"2016-12-08T19:57:40","modified_gmt":"2016-12-09T03:57:40","slug":"multiple-bug-reports","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/","title":{"rendered":"Multiple bug reports"},"content":{"rendered":"<p>I have a few bugs to report:<\/p>\n<p>1) I&#8217;ve been encountering a fatal error that only seems to happen when you already have a ticket in your cart for some time (seems like at least a day), then attempt to add another ticket to your cart. The errors persist every time you try to add a new ticket until you remove the existing ticket from your cart. I don&#8217;t think this is exactly common for most users to do, but I have had it happen to someone other than myself. Note: After the last time this happened (earlier today) I updated the plugin, so it may now be fixed &#8211; there hasn&#8217;t been sufficient time to leave a ticket in my cart and see if it happens again &#8211; if it does I&#8217;ll update this post to confirm it still exists.<\/p>\n<p>Also, while testing this I at one point logged this error:<\/p>\n<p>[08-Dec-2016 18:47:18 UTC] PHP Catchable fatal error: Argument 1 passed to tribe_array_merge_recursive() must be of the type array, boolean given, called in \/home\/***\/public_html\/wp-content\/plugins\/event-tickets-plus\/src\/Tribe\/Meta\/Storage.php on line 97 and defined in \/home\/***\/public_html\/wp-content\/plugins\/event-tickets\/common\/src\/functions\/utils.php on line 14<\/p>\n<p>I&#8217;m not sure if this is the same issue however as this one white-screen-of-death&#8217;ed me, while the normal ticket error throws a 500 error.<\/p>\n<p>2) Post update the function &#8220;toggle_js_class&#8221; in \\wp-content\\plugins\\event-tickets\\common\\src\\Tribe\\Main.php (line 280) has malformed JS which adds the text &#8221;; to the end of every page. The code for this function is:<\/p>\n<pre><code>\tpublic function toggle_js_class() {\r\n<\/code><\/pre>\n<p>?&gt;<\/p>\n<pre><code>\t\t&lt;script&gt;\r\n<\/code><\/pre>\n<p>( function ( body ) {<\/p>\n<pre><code>\t\t\t'use strict';\r\n<\/code><\/pre>\n<p>body.className = body.className.replace( \/\\btribe-no-js\\b\/, &#8216;tribe-js&#8217; );<\/p>\n<pre><code>\t\t} )( document.body );\r\n<\/code><\/pre>\n<p>&lt;\/script&gt;&#8221;;<\/p>\n<pre><code>\t\t&lt;?php\r\n<\/code><\/pre>\n<p>}<\/p>\n<p>And you can see the extra characters right after the closing script tag. I have removed these from my copy of the plugin as a temporary fix.<\/p>\n<p>3) In both the current and previous version of the plugin the settings page is horribly broken visually, I will attach a screenshot. The problem appears to be related to the CSS attached to .tribe-settings-form legend, removing the &#8220;float: left;&#8221; style fixes this particular issue but of course causes the input field to wrap to the next line. I haven&#8217;t been able to figure out exactly why it would cause this problem though. I am using the Beta channel of Google Chrome in this screenshot &#8211; I&#8217;ve not tested this in other browsers as I can get around it using the inspector, so it&#8217;s only a minor inconvenience for me.<\/p>\n","protected":false},"template":"","class_list":["post-1203550","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>Multiple bug reports -<\/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\/multiple-bug-reports\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Multiple bug reports -\" \/>\n<meta property=\"og:description\" content=\"I have a few bugs to report: 1) I&#8217;ve been encountering a fatal error that only seems to happen when you already have a ticket in your cart for some time (seems like at least a day), then attempt to add another ticket to your cart. The errors persist every time you try to add [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-12-09T03:57:40+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\/multiple-bug-reports\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/\",\"name\":\"Multiple bug reports -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-12-08T22:43:30+00:00\",\"dateModified\":\"2016-12-09T03:57:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/#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\":\"Multiple bug reports\"}]},{\"@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":"Multiple bug reports -","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\/multiple-bug-reports\/","og_locale":"en_US","og_type":"article","og_title":"Multiple bug reports -","og_description":"I have a few bugs to report: 1) I&#8217;ve been encountering a fatal error that only seems to happen when you already have a ticket in your cart for some time (seems like at least a day), then attempt to add another ticket to your cart. The errors persist every time you try to add [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/","article_modified_time":"2016-12-09T03:57:40+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\/multiple-bug-reports\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/","name":"Multiple bug reports -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-12-08T22:43:30+00:00","dateModified":"2016-12-09T03:57:40+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/multiple-bug-reports\/#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":"Multiple bug reports"}]},{"@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\/1203550","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\/1203550\/revisions"}],"predecessor-version":[{"id":1203666,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1203550\/revisions\/1203666"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1203550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}