{"id":1055784,"date":"2016-01-14T02:55:45","date_gmt":"2016-01-14T10:55:45","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/"},"modified":"2016-02-18T08:34:23","modified_gmt":"2016-02-18T16:34:23","slug":"error-in-queries-with-the-events-calendar-pro","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/","title":{"rendered":"Error in Queries with The Events Calendar Pro"},"content":{"rendered":"<p>Hi.<\/p>\n<p>We&#8217;re getting this kind of errors:<\/p>\n<pre><code>[13-Jan-2016 20:59:59 UTC] Error Server shutdown in progress de la base de datos de WordPress para la consulta SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*, MIN(wp_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts  INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN wp_postmeta as tribe_event_end_date ON ( wp_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = &#039;_EventEndDate&#039; )  WHERE 1=1  AND ( \n  wp_term_relationships.term_taxonomy_id IN (16,19) \n  OR \n  wp_term_relationships.term_taxonomy_id IN (1887)\n) AND ( \n  wp_postmeta.meta_key = &#039;_EventStartDate&#039;\n) AND wp_posts.post_type = &#039;tribe_events&#039; AND ((wp_posts.post_status = &#039;publish&#039;)) AND ((wp_postmeta.meta_value &gt;= &#039;2016-01-13 21:59:59&#039; AND wp_postmeta.meta_value &lt;= &#039;2016-02-01 04:59:59&#039;) OR (tribe_event_end_date.meta_value &gt;= &#039;2016-01-13 21:59:59&#039; AND wp_postmeta.meta_value &lt;= &#039;2016-02-01 04:59:59&#039; ) OR (wp_postmeta.meta_value &lt; &#039;2016-01-13 21:59:59&#039; AND tribe_event_end_date.meta_value &gt;= &#039;2016-02-01 04:59:59&#039; )) GROUP BY wp_posts.ID ORDER BY EventStartDate ASC, wp_posts.post_date ASC LIMIT 0, 4 realizada por require(&#039;wp-blog-header.php&#039;), require_once(&#039;wp-includes\/template-loader.php&#039;), include(&#039;\/themes\/Nexus\/page-eventos.php&#039;), get_sidebar, locate_template, load_template, require_once(&#039;\/themes\/Nexus\/sidebar.php&#039;), dynamic_sidebar, call_user_func_array, WP_Widget-&gt;display_callback, Tribe__Events__Pro__Mini_Calendar_Widget-&gt;widget, Tribe__Events__Pro__Mini_Calendar-&gt;do_calendar, tribe_get_template_part, include(&#039;\/plugins\/events-calendar-pro\/src\/views\/pro\/widgets\/mini-calendar-widget.php&#039;), tribe_get_template_part, do_action(&#039;tribe_before_get_template_part&#039;), call_user_func_array, Tribe__Events__Pro__Mini_Calendar-&gt;setup_list, Tribe__Events__Query::getEvents, WP_Query-&gt;__construct, WP_Query-&gt;query, WP_Query-&gt;get_posts, W3_Db-&gt;query, W3_DbCache-&gt;query, W3_DbCallUnderlying-&gt;query, W3_Db-&gt;query, W3_DbProcessor-&gt;query, W3_Db-&gt;default_query\n[13-Jan-2016 20:59:59 UTC] Error Lost connection to MySQL server during query de la base de datos de WordPress para la consulta \n(SELECT\n  @pid := sp.id AS pid,\n  0 AS aid,\n  sp.name,\n  sp.patch_source AS code_mode,\n  @code_before := sp.code_before AS code_before,\n  @code_after := sp.code_after AS code_after,\n  @ad_size := IF(sp.place_size = &quot;custom&quot;, CONCAT(CAST(sp.place_custom_width AS CHAR), &quot;x&quot;, CAST(sp.place_custom_height AS CHAR)), sp.place_size) AS ad_size,\n  sp.patch_code AS ad_code,\n  sp.patch_img AS ad_img,\n  &quot;&quot; AS ad_alt,\n  0 AS ad_no,\n  sp.patch_link AS ad_target,\n  0 AS ad_swf,\n  &quot;&quot; AS ad_swf_flashvars,\n  &quot;&quot; AS ad_swf_params,\n  &quot;&quot; AS ad_swf_attributes,\n  &quot;&quot; AS ad_swf_fallback,\n  sp.patch_adserver AS ad_adserver,\n  sp.patch_dfp AS ad_dfp,\n  0 AS count_clicks,\n  0 AS code_type,\n  IF((sp.patch_source = 1 AND sp.patch_adserver) OR sp.patch_source = 2, -1, 1) AS ad_cycle,\n  @aca := IFNULL((SELECT AVG(sa.ad_weight_hits*10\/(sa.ad_weight*1000)) FROM wp_sam_ads sa WHERE sa.pid = @pid AND sa.trash IS NOT TRUE AND (IF(sa.ad_users = 0, TRUE, (sa.ad_users_unreg = 1))) AND ((sa.view_type = 1) OR (sa.view_type = 0 AND (sa.view_pages+0 &amp; 10)) OR (sa.view_type = 2 AND FIND_IN_SET(210439, sa.view_id))) AND (sa.ad_cats = 0)  AND (sa.ad_authors = 0)    AND IF(sa.x_id, NOT FIND_IN_SET(210439, sa.x_view_id), TRUE)      AND IF(sa.ad_schedule, CURDATE() BETWEEN sa.ad_start_date AND sa.ad_end_date, TRUE) AND IF(sa.limit_hits, sa.hits_limit &gt; (SELECT IFNULL(COUNT(*), 0) FROM wp_sam_stats ss WHERE ss.id = sa.id AND ss.event_type = 0), TRUE) AND IF(sa.limit_clicks, sa.clicks_limit &gt; (SELECT IFNULL(COUNT(*), 0) FROM wp_sam_stats ss WHERE ss.id = sa.id AND ss.event_type = 1), TRUE) AND (sa.ad_weight &gt; 0)), 0) AS aca\nFROM wp_sam_places sp\nWHERE sp.id = 4 AND sp.trash IS FALSE)\nUNION\n(SELECT\n  sa.pid,\n  sa.id AS aid,\n  sa.name,\n  sa.code_mode,\n  @code_before AS code_before,\n  @code_after AS code_after,\n  @ad_size AS ad_size,\n  sa.ad_code,\n  sa.ad_img,\n  sa.ad_alt,\n  sa.ad_no,\n  sa.ad_target,\n  sa.ad_swf,\n  sa.ad_swf_flashvars,\n  sa.ad_swf_params,\n  sa.ad_swf_attributes,\n  sa.ad_swf_fallback,\n  0 AS ad_adserver,\n  0 AS ad_dfp,\n  sa.count_clicks,\n  sa.code_type,\n  IF(sa.ad_weight, (sa.ad_weight_hits*10\/(sa.ad_weight*1000)), 0) AS ad_cycle,\n  @aca AS aca\nFROM wp_sam_ads sa\nWHERE sa.pid = @pid AND sa.trash IS FALSE AND (IF(sa.ad_users = 0, TRUE, (sa.ad_users_unreg = 1))) AND ((sa.view_type = 1) OR (sa.view_type = 0 AND (sa.view_pages+0 &amp; 10)) OR (sa.view_type = 2 AND FIND_IN_SET(210439, sa.view_id))) AND (sa.ad_cats = 0)  AND (sa.ad_authors = 0)    AND IF(sa.x_id, NOT FIND_IN_SET(210439, sa.x_view_id), TRUE)      AND IF(sa.ad_schedule, CURDATE() BETWEEN sa.ad_start_date AND sa.ad_end_date, TRUE) AND IF(sa.limit_hits, sa.hits_limit &gt; (SELECT IFNULL(COUNT(*), 0) FROM wp_sam_stats ss WHERE ss.id = sa.id AND ss.event_type = 0), TRUE) AND IF(sa.limit_clicks, sa.clicks_limit &gt; (SELECT IFNULL(COUNT(*), 0) FROM wp_sam_stats ss WHERE ss.id = sa.id AND ss.event_type = 1), TRUE)  AND IF(sa.ad_weight &gt; 0, (sa.ad_weight_hits*10\/(sa.ad_weight*1000)) &lt; 1, FALSE))\nORDER BY ad_cycle\nLIMIT 1; realizada por require(&#039;wp-blog-header.php&#039;), require_once(&#039;wp-includes\/template-loader.php&#039;), include(&#039;\/themes\/Nexus\/page-eventos.php&#039;), get_template_part, locate_template, load_template, require(&#039;\/themes\/Nexus\/includes\/footer-banner.php&#039;), drawAdsPlace, SimpleAdsManager-&gt;buildAd, SamAdPlace-&gt;__construct, SamAdPlace-&gt;buildAd, W3_Db-&gt;query, W3_DbCache-&gt;query, W3_DbCallUnderlying-&gt;query, W3_Db-&gt;query, W3_DbProcessor-&gt;query, W3_Db-&gt;default_query<\/code><\/pre>\n<p>The custom fields we&#8217;re using with the venues post type are these:<\/p>\n<pre><code>if(function_exists(&quot;register_field_group&quot;))\n{\n\tregister_field_group(array (\n\t\t&#039;id&#039; =&gt; &#039;acf_lugares_extra&#039;,\n\t\t&#039;title&#039; =&gt; &#039;Lugares_extra&#039;,\n\t\t&#039;fields&#039; =&gt; array (\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_5565754b96722&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Precio medio&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;precio_medio&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;select&#039;,\n\t\t\t\t&#039;choices&#039; =&gt; array (\n\t\t\t\t\t&#039;menos de 15\u20ac&#039; =&gt; &#039;menos de 15\u20ac&#039;,\n\t\t\t\t\t&#039;de 16\u20ac a 24\u20ac&#039; =&gt; &#039;de 16\u20ac a 24\u20ac&#039;,\n\t\t\t\t\t&#039;de 25\u20ac a 39\u20ac&#039; =&gt; &#039;de 25\u20ac a 39\u20ac&#039;,\n\t\t\t\t\t&#039;m\u00e1s de 40\u20ac&#039; =&gt; &#039;m\u00e1s de 40\u20ac&#039;,\n\t\t\t\t\t&#039;consultar tarifas&#039; =&gt; &#039;consultar tarifas&#039;,\n\t\t\t\t),\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;allow_null&#039; =&gt; 0,\n\t\t\t\t&#039;multiple&#039; =&gt; 0,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55dec9555b652&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Cliente&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;cliente&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;true_false&#039;,\n\t\t\t\t&#039;message&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; 0,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55dec9745b653&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Destacado&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;destacado&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;true_false&#039;,\n\t\t\t\t&#039;message&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; 0,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55dec9835b654&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Observaciones&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;observaciones&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;wysiwyg&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;toolbar&#039; =&gt; &#039;full&#039;,\n\t\t\t\t&#039;media_upload&#039; =&gt; &#039;yes&#039;,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55dec9945b655&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Men\u00fa&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;menu&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;wysiwyg&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;toolbar&#039; =&gt; &#039;full&#039;,\n\t\t\t\t&#039;media_upload&#039; =&gt; &#039;yes&#039;,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55dec9ad5b656&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Coordenadas&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;coordenadas&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;text&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;placeholder&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;prepend&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;append&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;formatting&#039; =&gt; &#039;html&#039;,\n\t\t\t\t&#039;maxlength&#039; =&gt; &#039;&#039;,\n\t\t\t),\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55e5789ddbc15&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;Etiquetas&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;etiquetas&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;text&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;placeholder&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;prepend&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;append&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;formatting&#039; =&gt; &#039;html&#039;,\n\t\t\t\t&#039;maxlength&#039; =&gt; &#039;&#039;,\n\t\t\t),\n\t\t),\n\t\t&#039;location&#039; =&gt; array (\n\t\t\tarray (\n\t\t\t\tarray (\n\t\t\t\t\t&#039;param&#039; =&gt; &#039;post_type&#039;,\n\t\t\t\t\t&#039;operator&#039; =&gt; &#039;==&#039;,\n\t\t\t\t\t&#039;value&#039; =&gt; &#039;tribe_venue&#039;,\n\t\t\t\t\t&#039;order_no&#039; =&gt; 0,\n\t\t\t\t\t&#039;group_no&#039; =&gt; 0,\n\t\t\t\t),\n\t\t\t),\n\t\t),\n\t\t&#039;options&#039; =&gt; array (\n\t\t\t&#039;position&#039; =&gt; &#039;normal&#039;,\n\t\t\t&#039;layout&#039; =&gt; &#039;default&#039;,\n\t\t\t&#039;hide_on_screen&#039; =&gt; array (\n\t\t\t),\n\t\t),\n\t\t&#039;menu_order&#039; =&gt; 3,\n\t));\n}\n<\/code><\/pre>\n<p>The custom fields we&#8217;re using with the events are these:<\/p>\n<pre><code>if(function_exists(&quot;register_field_group&quot;))\n{\n\tregister_field_group(array (\n\t\t&#039;id&#039; =&gt; &#039;acf_eventos_extra&#039;,\n\t\t&#039;title&#039; =&gt; &#039;Eventos_extra&#039;,\n\t\t&#039;fields&#039; =&gt; array (\n\t\t\tarray (\n\t\t\t\t&#039;key&#039; =&gt; &#039;field_55df08089a3b8&#039;,\n\t\t\t\t&#039;label&#039; =&gt; &#039;link entradas&#039;,\n\t\t\t\t&#039;name&#039; =&gt; &#039;link_entradas&#039;,\n\t\t\t\t&#039;type&#039; =&gt; &#039;text&#039;,\n\t\t\t\t&#039;default_value&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;placeholder&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;prepend&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;append&#039; =&gt; &#039;&#039;,\n\t\t\t\t&#039;formatting&#039; =&gt; &#039;html&#039;,\n\t\t\t\t&#039;maxlength&#039; =&gt; &#039;&#039;,\n\t\t\t),\n\t\t),\n\t\t&#039;location&#039; =&gt; array (\n\t\t\tarray (\n\t\t\t\tarray (\n\t\t\t\t\t&#039;param&#039; =&gt; &#039;post_type&#039;,\n\t\t\t\t\t&#039;operator&#039; =&gt; &#039;==&#039;,\n\t\t\t\t\t&#039;value&#039; =&gt; &#039;tribe_events&#039;,\n\t\t\t\t\t&#039;order_no&#039; =&gt; 0,\n\t\t\t\t\t&#039;group_no&#039; =&gt; 0,\n\t\t\t\t),\n\t\t\t),\n\t\t),\n\t\t&#039;options&#039; =&gt; array (\n\t\t\t&#039;position&#039; =&gt; &#039;normal&#039;,\n\t\t\t&#039;layout&#039; =&gt; &#039;no_box&#039;,\n\t\t\t&#039;hide_on_screen&#039; =&gt; array (\n\t\t\t),\n\t\t),\n\t\t&#039;menu_order&#039; =&gt; 0,\n\t));\n}\n<\/code><\/pre>\n<p>And these custom taxonomies for venues and events:<\/p>\n<pre><code>add_action( &#039;init&#039;, &#039;cptui_register_my_taxes&#039; );\nfunction cptui_register_my_taxes() {\n\n\t$labels = array(\n\t\t&quot;name&quot; =&gt; &quot;Zonas&quot;,\n\t\t&quot;label&quot; =&gt; &quot;Zonas&quot;,\n\t\t);\n\n\t$args = array(\n\t\t&quot;labels&quot; =&gt; $labels,\n\t\t&quot;hierarchical&quot; =&gt; true,\n\t\t&quot;label&quot; =&gt; &quot;Zonas&quot;,\n\t\t&quot;show_ui&quot; =&gt; true,\n\t\t&quot;query_var&quot; =&gt; true,\n\t\t&quot;rewrite&quot; =&gt; array( &#039;slug&#039; =&gt; &#039;zonas&#039;, &#039;with_front&#039; =&gt; true ),\n\t\t&quot;show_admin_column&quot; =&gt; false,\n\t);\n\tregister_taxonomy( &quot;zonas&quot;, array( &quot;tribe_events&quot;, &quot;tribe_venue&quot; ), $args );\n\n\t$labels = array(\n\t\t&quot;name&quot; =&gt; &quot;Tipos&quot;,\n\t\t&quot;label&quot; =&gt; &quot;Tipos&quot;,\n\t\t);\n\n\t$args = array(\n\t\t&quot;labels&quot; =&gt; $labels,\n\t\t&quot;hierarchical&quot; =&gt; true,\n\t\t&quot;label&quot; =&gt; &quot;Tipos&quot;,\n\t\t&quot;show_ui&quot; =&gt; true,\n\t\t&quot;query_var&quot; =&gt; true,\n\t\t&quot;rewrite&quot; =&gt; array( &#039;slug&#039; =&gt; &#039;tipos&#039;, &#039;with_front&#039; =&gt; true ),\n\t\t&quot;show_admin_column&quot; =&gt; false,\n\t);\n\tregister_taxonomy( &quot;tipos&quot;, array( &quot;tribe_events&quot;, &quot;tribe_venue&quot; ), $args );\n\n\/\/ End cptui_register_my_taxes\n}\n<\/code><\/pre>\n<p>We&#8217;ve have followed all your recomendations on performance: https:\/\/theeventscalendar.com\/the-events-calendar-performance-considerations\/ and even more: https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-calendar-pro-and-caching\/<\/p>\n<p>The problem with performance (as seen on https:\/\/theeventscalendar.com\/support\/forums\/topic\/sutainable-growing-of-the-events-calendar-plugin\/) keeps on the WP admin every time we edit or add an event o venue. It&#8217;s quite slow.<\/p>\n<p>We have a power server and everything opmitimized and we&#8217;re still having low performance. Our concern is about the expected growing of the web. The past events will be deleted, but the venues will keep growing. <\/p>\n<p>Can you tell us how to optimize the queries or any other way to improve performance after following the recomendations?<br \/>\nDo you recommend another way to add the custom fields and taxonomies?<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-1055784","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>Error in Queries with The Events Calendar Pro -<\/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\/error-in-queries-with-the-events-calendar-pro\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error in Queries with The Events Calendar Pro -\" \/>\n<meta property=\"og:description\" content=\"Hi. We&#8217;re getting this kind of errors: [13-Jan-2016 20:59:59 UTC] Error Server shutdown in progress de la base de datos de WordPress para la consulta SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*, MIN(wp_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-18T16:34:23+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=\"8 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\/error-in-queries-with-the-events-calendar-pro\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/\",\"name\":\"Error in Queries with The Events Calendar Pro -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2016-01-14T10:55:45+00:00\",\"dateModified\":\"2016-02-18T16:34:23+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/#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\":\"Error in Queries with The Events Calendar Pro\"}]},{\"@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":"Error in Queries with The Events Calendar Pro -","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\/error-in-queries-with-the-events-calendar-pro\/","og_locale":"en_US","og_type":"article","og_title":"Error in Queries with The Events Calendar Pro -","og_description":"Hi. We&#8217;re getting this kind of errors: [13-Jan-2016 20:59:59 UTC] Error Server shutdown in progress de la base de datos de WordPress para la consulta SELECT SQL_CALC_FOUND_ROWS DISTINCT wp_posts.*, MIN(wp_postmeta.meta_value) as EventStartDate, MIN(tribe_event_end_date.meta_value) as EventEndDate FROM wp_posts INNER JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) LEFT JOIN [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/","article_modified_time":"2016-02-18T16:34:23+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/","name":"Error in Queries with The Events Calendar Pro -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2016-01-14T10:55:45+00:00","dateModified":"2016-02-18T16:34:23+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-queries-with-the-events-calendar-pro\/#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":"Error in Queries with The Events Calendar Pro"}]},{"@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\/1055784","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\/1055784\/revisions"}],"predecessor-version":[{"id":1056045,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1055784\/revisions\/1056045"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1055784"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}