{"id":116306,"date":"2014-03-07T13:46:15","date_gmt":"2014-03-07T21:46:15","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/"},"modified":"2014-04-18T06:48:40","modified_gmt":"2014-04-18T13:48:40","slug":"js-errors-from-tec-on-an-individual-event-template","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/","title":{"rendered":"JS errors from TEC on an individual event template"},"content":{"rendered":"<p>Hello, <\/p>\n<p>We are seeing two JavaScript errors on our individual event pages only.  We referred to this post: <a href=\"https:\/\/tri.be\/support\/forums\/topic\/plugin-conlict-js-errors-from-tec-front-end-acf-form-on-an-event-template\/\">https:\/\/tri.be\/support\/forums\/topic\/plugin-conlict-js-errors-from-tec-front-end-acf-form-on-an-event-template\/<\/a><\/p>\n<p>And added the code here: <a href=\"http:\/\/pastebin.com\/P6HqshtD\">http:\/\/pastebin.com\/P6HqshtD<\/a> to our theme enqueue file, which did not resolve the issue for us.<\/p>\n<p>Our error states:<\/p>\n<pre><code>\nUncaught TypeError: Object function (options){\n\t\n\t\/* Verify an empty collection wasn&#039;t passed - Fixes #6976 *\/\n\tif ( !this.length ) {\n\t\treturn this;\n\t}\n\t\n\t\/* Initialise the date picker. *\/\n\tif (!$.datepicker.initialized) {\n\t\t$(document).mousedown($.datepicker._checkExternalClick).\n\t\t\tfind(&#039;body&#039;).append($.datepicker.dpDiv);\n\t\t$.datepicker.initialized = true;\n\t}\n\n\tvar otherArgs = Array.prototype.slice.call(arguments, 1);\n\tif (typeof options == &#039;string&#039; &amp;&amp; (options == &#039;isDisabled&#039; || options == &#039;getDate&#039; || options == &#039;widget&#039;))\n\t\treturn $.datepicker[&#039;_&#039; + options + &#039;Datepicker&#039;].\n\t\t\tapply($.datepicker, [this[0]].concat(otherArgs));\n\tif (options == &#039;option&#039; &amp;&amp; arguments.length == 2 &amp;&amp; typeof arguments[1] == &#039;string&#039;)\n\t\treturn $.datepicker[&#039;_&#039; + options + &#039;Datepicker&#039;].\n\t\t\tapply($.datepicker, [this[0]].concat(otherArgs));\n\treturn this.each(function() {\n\t\ttypeof options == &#039;string&#039; ?\n\t\t\t$.datepicker[&#039;_&#039; + options + &#039;Datepicker&#039;].\n\t\t\t\tapply($.datepicker, [this].concat(otherArgs)) :\n\t\t\t$.datepicker._attachDatepicker(this, options);\n\t});\n} has no method &#039;noConflict&#039;\n<\/code><\/pre>\n<p>&lt;br \/&gt;<br \/>\nand this error:<\/p>\n<pre><code>\nUncaught TypeError: Cannot call method &#039;pro_tooltips&#039; of undefined tribe-events-pro.min.js:8\n(anonymous function) tribe-events-pro.min.js:8\nc jquery.js:7341\np.fireWith jquery.js:7403\nb.extend.ready jquery.js:6875\nH\n<\/code><\/pre>\n<p>&lt;br \/&gt;<br \/>\nWe deactivated the ACF plugin, and renamed the local folder, yet these two errors are still showing up, so we do not believe it is a conflict with ACF at this point.  <\/p>\n<p>Any ideas as to what may be causing these conflicts on our individual events pages only?<\/p>\n","protected":false},"template":"","class_list":["post-116306","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>JS errors from TEC on an individual event template -<\/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\/js-errors-from-tec-on-an-individual-event-template\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JS errors from TEC on an individual event template -\" \/>\n<meta property=\"og:description\" content=\"Hello, We are seeing two JavaScript errors on our individual event pages only. We referred to this post: https:\/\/tri.be\/support\/forums\/topic\/plugin-conlict-js-errors-from-tec-front-end-acf-form-on-an-event-template\/ And added the code here: http:\/\/pastebin.com\/P6HqshtD to our theme enqueue file, which did not resolve the issue for us. Our error states: Uncaught TypeError: Object function (options){ \/* Verify an empty collection wasn&#039;t passed - Fixes [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-04-18T13:48: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=\"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\/js-errors-from-tec-on-an-individual-event-template\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/\",\"name\":\"JS errors from TEC on an individual event template -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-03-07T21:46:15+00:00\",\"dateModified\":\"2014-04-18T13:48:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/#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\":\"JS errors from TEC on an individual event template\"}]},{\"@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":"JS errors from TEC on an individual event template -","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\/js-errors-from-tec-on-an-individual-event-template\/","og_locale":"en_US","og_type":"article","og_title":"JS errors from TEC on an individual event template -","og_description":"Hello, We are seeing two JavaScript errors on our individual event pages only. We referred to this post: https:\/\/tri.be\/support\/forums\/topic\/plugin-conlict-js-errors-from-tec-front-end-acf-form-on-an-event-template\/ And added the code here: http:\/\/pastebin.com\/P6HqshtD to our theme enqueue file, which did not resolve the issue for us. Our error states: Uncaught TypeError: Object function (options){ \/* Verify an empty collection wasn&#039;t passed - Fixes [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/","article_modified_time":"2014-04-18T13:48:40+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\/js-errors-from-tec-on-an-individual-event-template\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/","name":"JS errors from TEC on an individual event template -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-03-07T21:46:15+00:00","dateModified":"2014-04-18T13:48:40+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/js-errors-from-tec-on-an-individual-event-template\/#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":"JS errors from TEC on an individual event template"}]},{"@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\/116306","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\/116306\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=116306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}