{"id":1294147,"date":"2017-06-06T18:45:02","date_gmt":"2017-06-07T01:45:02","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/"},"modified":"2017-06-06T18:45:02","modified_gmt":"2017-06-07T01:45:02","slug":"error-in-log","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/","title":{"rendered":"Error in log"},"content":{"rendered":"<p>I&#8217;ve been getting some DB errors in my error log. Is anyone else seeing anything like this? Here is an example of one of them:<\/p>\n<p>[06-Jun-2017 02:13:08 UTC] WordPress database error Unknown column &#8216;EventStartDate&#8217; in &#8216;order clause&#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 psn_posts.ID FROM psn_posts  INNER JOIN psn_postmeta ON ( psn_posts.ID = psn_postmeta.post_id )  INNER JOIN psn_postmeta AS mt1 ON ( psn_posts.ID = mt1.post_id ) LEFT JOIN psn_postmeta as tribe_event_end_date ON ( psn_posts.ID = tribe_event_end_date.post_id AND tribe_event_end_date.meta_key = &#8216;_EventEndDate&#8217; )  WHERE 1=1  AND (<br \/>\n  psn_postmeta.meta_key = &#8216;_EventStartDate&#8217;<br \/>\n  AND<br \/>\n  ( mt1.meta_key = &#8216;_EventVenueID&#8217; AND CAST(mt1.meta_value AS SIGNED) = &#8216;85604&#8217; )<br \/>\n) AND psn_posts.post_type = &#8216;tribe_events&#8217; AND ((psn_posts.post_status = &#8216;publish&#8217;)) ORDER BY psn_posts.post_date ASC<br \/>\n\t\t\t) a<br \/>\n\t\t\tGROUP BY IF( post_parent = 0, ID, post_parent )<br \/>\n\t\t\tORDER BY EventStartDate ASC<br \/>\n\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<\/p>\n","protected":false},"template":"","class_list":["post-1294147","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 log -<\/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-log\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error in log -\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve been getting some DB errors in my error log. Is anyone else seeing anything like this? Here is an example of one of them: [06-Jun-2017 02:13:08 UTC] WordPress database error Unknown column &#8216;EventStartDate&#8217; in &#8216;order clause&#8217; for query SELECT SQL_CALC_FOUND_ROWS * FROM ( SELECT DISTINCT psn_posts.ID FROM psn_posts INNER JOIN psn_postmeta ON ( psn_posts.ID [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/\" \/>\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\/error-in-log\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/\",\"name\":\"Error in log -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2017-06-07T01:45:02+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/#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 log\"}]},{\"@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 log -","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-log\/","og_locale":"en_US","og_type":"article","og_title":"Error in log -","og_description":"I&#8217;ve been getting some DB errors in my error log. Is anyone else seeing anything like this? Here is an example of one of them: [06-Jun-2017 02:13:08 UTC] WordPress database error Unknown column &#8216;EventStartDate&#8217; in &#8216;order clause&#8217; for query SELECT SQL_CALC_FOUND_ROWS * FROM ( SELECT DISTINCT psn_posts.ID FROM psn_posts INNER JOIN psn_postmeta ON ( psn_posts.ID [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/","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\/error-in-log\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/","name":"Error in log -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2017-06-07T01:45:02+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-in-log\/#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 log"}]},{"@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\/1294147","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\/1294147\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1294147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}