Home › Forums › Calendar Products › Events Calendar PRO › Error in log
- This topic has 11 replies, 4 voices, and was last updated 8 years, 9 months ago by
Sean.
-
AuthorPosts
-
June 6, 2017 at 6:45 pm #1294147
Sean
ParticipantI’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 ‘EventStartDate’ in ‘order clause’ for query
SELECT
SQL_CALC_FOUND_ROWS *
FROM (
SELECT 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 = ‘_EventEndDate’ ) WHERE 1=1 AND (
psn_postmeta.meta_key = ‘_EventStartDate’
AND
( mt1.meta_key = ‘_EventVenueID’ AND CAST(mt1.meta_value AS SIGNED) = ‘85604’ )
) AND psn_posts.post_type = ‘tribe_events’ AND ((psn_posts.post_status = ‘publish’)) ORDER BY psn_posts.post_date ASC
) a
GROUP BY IF( post_parent = 0, ID, post_parent )
ORDER BY EventStartDate ASC
LIMIT 0, 10
made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, Tribe__Events__REST__V1__Endpoints__Archive_Event->get, Tribe__Events__REST__V1__Endpoints__Archive_Event->has_previous, tribe_get_events, Tribe__Events__Query::getEvents, WP_Query->__construct, WP_Query->query, WP_Query->get_postsJune 6, 2017 at 7:00 pm #1294152Sean
ParticipantLooks like this user might be having a related issue: https://theeventscalendar.com/support/forums/topic/database-error-unknown-column-eventstartdate-in-order-clause-for-query/
June 7, 2017 at 5:46 am #1294337Patti
ParticipantSean, I started the other thread you linked to.
Are you getting the Meta.php errors too?
June 7, 2017 at 8:31 am #1294437Mathew
ParticipantJune 8, 2017 at 9:26 pm #1295591Cliff
MemberHi, Sean.
I’ve handled all the threads that have been linked to here.
I haven’t been able to replicate the issue. If we can find out what situation causes this (e.g. specific URL or performing a specific action), then I’ll be able to try it. If it’s reproducible, then I can get the bug fixed. Until then, it’s hard to say…
Please let me know once you can detail how/when this is happening.
Thank you.
June 9, 2017 at 6:11 am #1295701Cliff
MemberSean, please reference https://theeventscalendar.com/support/forums/topic/database-error-unknown-column-eventstartdate-in-order-clause-for-query/#post-1295700 and also investigate a possible plugin conflict with the Business Directory Plugin – Enhanced Categories Module and/or the Business Directory Plugin.
Thank you.
June 10, 2017 at 6:47 pm #1296354Sean
ParticipantI’ll disable the Business Directory Plugin – Enhanced Categories Module and wait see if I get any errors in the log. I’ll repeat with Business Directory Plugin after Business Directory Plugin – Enhanced Categories Module. Has anyone heard of a sure fire way to get this error to trigger from other users?
June 12, 2017 at 8:12 pm #1296967Cliff
MemberSean (and others), I’ll leave this thread open so feel free to reply and help each other here. Please know, though, that I have to reply within 1 day anytime there’s new activity here.
Please note that threads get Closed automatically after a couple weeks of inactivity. If it does get Closed, please open a new thread, adding your current problem description and also linking back to this thread.
Thank you!
June 15, 2017 at 6:34 am #1298427Patti
ParticipantSean – did you get any errors AFTER you disabled the plugins?
Were you using any custom templates for the BD plugin?
June 16, 2017 at 7:23 pm #1299432Cliff
MemberSean, are you out there?
July 8, 2017 at 9:35 am #1317946Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Error in log’ is closed to new replies.
