{"id":1493767,"date":"2018-03-31T20:32:33","date_gmt":"2018-04-01T03:32:33","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/"},"modified":"2018-04-02T07:43:02","modified_gmt":"2018-04-02T14:43:02","slug":"database-error-3","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/","title":{"rendered":"Database error"},"content":{"rendered":"<p>hello my client is using the events calendar pro, but our site sometimes goes down, and as i check the error logs i found this error, can you help? thanks<\/p>\n<p><strong>[31-Mar-2018 23:55:43 UTC] WordPress database error Unknown column &#8216;post_parent&#8217; in &#8216;group statement&#8217; for query<br \/>\n\t\t\tSELECT<br \/>\n\t\t\t\tSQL_CALC_FOUND_ROWS *<br \/>\n\t\t\tFROM (<br \/>\n\t\t\t\tSELECT  DISTINCT wp_posts.ID FROM wp_posts  LEFT 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 = &#8216;_EventEndDate&#8217; )  WHERE 1=1  AND (<br \/>\n  wp_term_relationships.term_taxonomy_id IN (33)<br \/>\n) AND (<br \/>\n  wp_postmeta.meta_key = &#8216;_EventStartDate&#8217;<br \/>\n) AND wp_posts.post_type = &#8216;tribe_events&#8217; AND ((wp_posts.post_status = &#8216;publish&#8217;)) AND ((wp_postmeta.meta_value &gt;= &#8216;2018-03-30 00:00:00&#8217; AND wp_postmeta.meta_value &lt;= &#8216;2020-03-31 23:59:59&#8217;) OR (tribe_event_end_date.meta_value &gt;= &#8216;2018-03-30 00:00:00&#8217; AND wp_postmeta.meta_value &lt;= &#8216;2020-03-31 23:59:59&#8217; ) OR (wp_postmeta.meta_value &lt; &#8216;2018-03-30 00:00:00&#8217; AND tribe_event_end_date.meta_value &gt;= &#8216;2020-03-31 23:59:59&#8217; )) ORDER BY wp_posts.post_date ASC<br \/>\n\t\t\t) a<br \/>\n\t\t\tGROUP BY IF( post_parent = 0, ID, post_parent )<\/p>\n<p>\t\t\tLIMIT 0, 10<br \/>\n\t\t made by require(&#8216;wp-blog-header.php&#8217;), wp, WP-&gt;main, WP-&gt;parse_request, do_action_ref_array, WP_Hook-&gt;do_action, WP_Hook-&gt;apply_filters, rest_api_loaded, WP_REST_Server-&gt;serve_request, WP_REST_Server-&gt;dispatch, Tribe__Events__REST__V1__Endpoints__Archive_Event-&gt;get, Tribe__Events__REST__V1__Endpoints__Archive_Event-&gt;has_previous, tribe_get_events, Tribe__Events__Query::getEvents, WP_Query-&gt;__construct, WP_Query-&gt;query, WP_Query-&gt;get_posts<\/strong><\/p>\n","protected":false},"template":"","class_list":["post-1493767","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>Database error -<\/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\/database-error-3\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Database error -\" \/>\n<meta property=\"og:description\" content=\"hello my client is using the events calendar pro, but our site sometimes goes down, and as i check the error logs i found this error, can you help? thanks [31-Mar-2018 23:55:43 UTC] WordPress database error Unknown column &#8216;post_parent&#8217; in &#8216;group statement&#8217; for query SELECT SQL_CALC_FOUND_ROWS * FROM ( SELECT DISTINCT wp_posts.ID FROM wp_posts LEFT [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-04-02T14:43:02+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\/database-error-3\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/\",\"name\":\"Database error -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-04-01T03:32:33+00:00\",\"dateModified\":\"2018-04-02T14:43:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/#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\":\"Welcome!\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Pre-Sales Questions\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Database error\"}]},{\"@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":"Database error -","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\/database-error-3\/","og_locale":"en_US","og_type":"article","og_title":"Database error -","og_description":"hello my client is using the events calendar pro, but our site sometimes goes down, and as i check the error logs i found this error, can you help? thanks [31-Mar-2018 23:55:43 UTC] WordPress database error Unknown column &#8216;post_parent&#8217; in &#8216;group statement&#8217; for query SELECT SQL_CALC_FOUND_ROWS * FROM ( SELECT DISTINCT wp_posts.ID FROM wp_posts LEFT [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/","article_modified_time":"2018-04-02T14:43:02+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\/database-error-3\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/","name":"Database error -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-04-01T03:32:33+00:00","dateModified":"2018-04-02T14:43:02+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/database-error-3\/#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":"Welcome!","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/"},{"@type":"ListItem","position":4,"name":"Pre-Sales Questions","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/_welcome\/pre-sales-questions\/"},{"@type":"ListItem","position":5,"name":"Database error"}]},{"@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\/1493767","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\/1493767\/revisions"}],"predecessor-version":[{"id":1494294,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1493767\/revisions\/1494294"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1493767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}