{"id":151744,"date":"2014-05-06T08:36:53","date_gmt":"2014-05-06T15:36:53","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/"},"modified":"2014-05-12T11:57:33","modified_gmt":"2014-05-12T18:57:33","slug":"error-log-reports-a-wordpress-database-error","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/","title":{"rendered":"Error log reports a WordPress database error"},"content":{"rendered":"<p>Hi, my error log is reporting the following:<br \/>\n[08-Apr-2014 16:50:43 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;) )<br \/>\n) coors&#8217; at line 15 for query SELECT Max(lat) max_lat,<br \/>\nMax(lng) max_lng,<br \/>\nMin(lat) min_lat,<br \/>\nMin(lng) min_lng<br \/>\nFROM (SELECT post_id AS venue_id,<br \/>\nCASE<br \/>\nWHEN meta_key = &#8216;_VenueLat&#8217; THEN meta_value<br \/>\nend AS LAT,<br \/>\nCASE<br \/>\nWHEN meta_key = &#8216;_VenueLng&#8217; THEN meta_value<br \/>\nend AS LNG<br \/>\nFROM ce_postmeta<br \/>\nWHERE ( meta_key = &#8216;_VenueLat&#8217;<br \/>\nOR meta_key = &#8216;_VenueLng&#8217;)<br \/>\nAND post_id IN (SELECT meta_value FROM ce_postmeta WHERE meta_key=&#8217;_EventVenueID&#8217; AND post_id IN () )<br \/>\n) coors<br \/>\nmade by require(&#8216;wp-blog-header.php&#8217;), require_once(&#8216;wp-includes\/template-loader.php&#8217;), include(&#8216;\/plugins\/the-events-calendar\/views\/default-template.php&#8217;), get_header, locate_template, load_template, require_once(&#8216;\/themes\/headway\/header.php&#8217;), wp_head, do_action(&#8216;wp_head&#8217;), call_user_func_array, wp_enqueue_scripts, do_action(&#8216;wp_enqueue_scripts&#8217;), call_user_func_array, TribeEventsPro-&gt;enqueue_pro_scripts, TribeEventsGeoLoc-&gt;estimate_center_point<br \/>\n[16-Apr-2014 05:45:53 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 130099189 bytes) in \/home\/isisedit\/public_html\/events\/wp-includes\/class-phpmailer.php on line 1892<br \/>\n[01-May-2014 03:08:53 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 133605529 bytes) in \/home\/isisedit\/public_html\/events\/wp-includes\/class-phpmailer.php on line 2171<br \/>\nAny help on this? Point me to a possible cause? The plugin does seem to be working on the live site but unsure what this error means&#8230;<\/p>\n","protected":false},"template":"","class_list":["post-151744","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 log reports a Wordpress 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\/error-log-reports-a-wordpress-database-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Error log reports a Wordpress database error -\" \/>\n<meta property=\"og:description\" content=\"Hi, my error log is reporting the following: [08-Apr-2014 16:50:43 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;) ) ) coors&#8217; at line 15 for query SELECT Max(lat) max_lat, Max(lng) max_lng, Min(lat) min_lat, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-05-12T18:57:33+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=\"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-log-reports-a-wordpress-database-error\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/\",\"name\":\"Error log reports a Wordpress database error -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-05-06T15:36:53+00:00\",\"dateModified\":\"2014-05-12T18:57:33+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/#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 log reports a WordPress 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":"Error log reports a Wordpress 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\/error-log-reports-a-wordpress-database-error\/","og_locale":"en_US","og_type":"article","og_title":"Error log reports a Wordpress database error -","og_description":"Hi, my error log is reporting the following: [08-Apr-2014 16:50:43 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#8216;) ) ) coors&#8217; at line 15 for query SELECT Max(lat) max_lat, Max(lng) max_lng, Min(lat) min_lat, [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/","article_modified_time":"2014-05-12T18:57:33+00:00","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-log-reports-a-wordpress-database-error\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/","name":"Error log reports a Wordpress database error -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-05-06T15:36:53+00:00","dateModified":"2014-05-12T18:57:33+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/error-log-reports-a-wordpress-database-error\/#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 log reports a WordPress 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\/151744","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\/151744\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=151744"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}