{"id":1155724,"date":"2016-08-25T04:18:49","date_gmt":"2016-08-25T11:18:49","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/"},"modified":"2016-08-25T04:18:49","modified_gmt":"2016-08-25T11:18:49","slug":"debugging-faulty-ajax-loadingnavigation","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/","title":{"rendered":"Debugging faulty Ajax loading\/navigation"},"content":{"rendered":"<p>Hi there guys,<br \/>\nI don&#8217;t know why but while developing the website, sometimes the month view navigation will stop working with the usual stuck spinning wheel (IE11, Firefox, Edge, Chrome Android) and the mini calendar widget on all browsers.<\/p>\n<p>Out of disabling functions.php in my theme, disable my custom javascript and reverting to default WP theme (with all the plugins activated), only the last attempt worked.<\/p>\n<p>So, it looks like there&#8217;s a theme conflict that under some circumstances will spoil ajax calls.<\/p>\n<p>I would I ask you if you can instruct me to debug what&#8217;s going wrong with my theme!<\/p>\n<p>I know how to use Chrome&#8217;s debugger and Firefox&#8217;s Firebug to debug javascript but I don&#8217;t know how to debug ajax calls. although I can clearly see XHR requests in FF and Chrome.<\/p>\n<p>Currently there are no errors in the Console, so I really don&#8217;t know where to start and what route to follow.<\/p>\n<p>Glad if you could help, hoping this behaviour is not related to PHP version 7 (As I wrote in older messages I cannot downgrade to PHP 5).<\/p>\n<p>At the moment I have posted another request to disable Ajax functionality to allow customers to use the calendar anyway, to allow proper debugging to fix this!<\/p>\n<p>Thanks \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-1155724","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>Debugging faulty Ajax loading\/navigation -<\/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\/debugging-faulty-ajax-loadingnavigation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Debugging faulty Ajax loading\/navigation -\" \/>\n<meta property=\"og:description\" content=\"Hi there guys, I don&#8217;t know why but while developing the website, sometimes the month view navigation will stop working with the usual stuck spinning wheel (IE11, Firefox, Edge, Chrome Android) and the mini calendar widget on all browsers. Out of disabling functions.php in my theme, disable my custom javascript and reverting to default WP [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/\" \/>\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\/debugging-faulty-ajax-loadingnavigation\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/\",\"name\":\"Debugging faulty Ajax loading\/navigation -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-08-25T11:18:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/#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\":\"Debugging faulty Ajax loading\/navigation\"}]},{\"@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":"Debugging faulty Ajax loading\/navigation -","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\/debugging-faulty-ajax-loadingnavigation\/","og_locale":"en_US","og_type":"article","og_title":"Debugging faulty Ajax loading\/navigation -","og_description":"Hi there guys, I don&#8217;t know why but while developing the website, sometimes the month view navigation will stop working with the usual stuck spinning wheel (IE11, Firefox, Edge, Chrome Android) and the mini calendar widget on all browsers. Out of disabling functions.php in my theme, disable my custom javascript and reverting to default WP [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/","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\/debugging-faulty-ajax-loadingnavigation\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/","name":"Debugging faulty Ajax loading\/navigation -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-08-25T11:18:49+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/debugging-faulty-ajax-loadingnavigation\/#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":"Debugging faulty Ajax loading\/navigation"}]},{"@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\/1155724","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\/1155724\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1155724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}