{"id":1336244,"date":"2017-08-16T11:47:29","date_gmt":"2017-08-16T18:47:29","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/"},"modified":"2017-08-16T11:47:29","modified_gmt":"2017-08-16T18:47:29","slug":"event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/","title":{"rendered":"Event pages load very slowly when the Pro calendar plugin is activated"},"content":{"rendered":"<p>I have a client that is having me investigate a slow site issue and my investigation has pointed to the events calendar pro plugin. It&#8217;s the only plugin who&#8217;s deactivation lets the events pages load in a reasonable amount of time.<\/p>\n<p>I&#8217;m unable to update the events calendar plugins on their main site because it&#8217;s live and the last time they did that they lost a ton of events and had to recreate them. So I was going to try to update it on a staging site we have setup for them but I don&#8217;t have an extra pro license to install in order to let me update the plugin to the latest version, I could potentially deactivate it on the live site and switch it to the staging site but that may not work for the client if there are any reasons to fear potential data loss due to said license moving temporarily to the different domain.<\/p>\n<p>I&#8217;ve already ran Query Monitor to check how long the queries are as I saw it was suggested in another post. When the pro calendar plugin is activated there are four select statements that exactly match word for word the select statement on the test where the pro plugin was activated. Even though the select statements match exactly, the test with the plugin deactivated takes 0.2061 seconds to load the first query and 17.1148 to load it on the test I ran where the events calendar pro plugin was activated. I will reply with a private response with the actual select statement itself. The same occurs for the three other get_posts queries. <\/p>\n<p>Two things. First, what can I do to get this resolved? Do I need to not use the pro addon until you get the performance updates released? Is there any cleaning of the database that will help? <\/p>\n<p>Secondly, if I was to deactivate the pro plugin would that cause any data loss? Similarly if I was to move the license over to the staging domain temporarily so I can see if the existing updates resolve this do I have any reason to think there would be data loss in that situation as well?<\/p>\n","protected":false},"template":"","class_list":["post-1336244","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>Event pages load very slowly when the Pro calendar plugin is activated -<\/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\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Event pages load very slowly when the Pro calendar plugin is activated -\" \/>\n<meta property=\"og:description\" content=\"I have a client that is having me investigate a slow site issue and my investigation has pointed to the events calendar pro plugin. It&#8217;s the only plugin who&#8217;s deactivation lets the events pages load in a reasonable amount of time. I&#8217;m unable to update the events calendar plugins on their main site because it&#8217;s [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/\" \/>\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\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/\",\"name\":\"Event pages load very slowly when the Pro calendar plugin is activated -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-08-16T18:47:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/#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\":\"Event pages load very slowly when the Pro calendar plugin is activated\"}]},{\"@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":"Event pages load very slowly when the Pro calendar plugin is activated -","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\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/","og_locale":"en_US","og_type":"article","og_title":"Event pages load very slowly when the Pro calendar plugin is activated -","og_description":"I have a client that is having me investigate a slow site issue and my investigation has pointed to the events calendar pro plugin. It&#8217;s the only plugin who&#8217;s deactivation lets the events pages load in a reasonable amount of time. I&#8217;m unable to update the events calendar plugins on their main site because it&#8217;s [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/","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\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/","name":"Event pages load very slowly when the Pro calendar plugin is activated -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-08-16T18:47:29+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/event-pages-load-very-slowly-when-the-pro-calendar-plugin-is-activated\/#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":"Event pages load very slowly when the Pro calendar plugin is activated"}]},{"@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\/1336244","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\/1336244\/revisions"}],"predecessor-version":[{"id":1473982,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1336244\/revisions\/1473982"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1336244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}