Forum Replies Created
-
AuthorPosts
-
Gray
ParticipantI’m sorry, I meant to show you http://yogaunioncwc.com/events-yoga-union/ or http://yogaunion3.staging.wpengine.com/events-yoga-union/ on the staging site. We’re using the [tribe_events view=”photo”] shortcode.
Gray
ParticipantThis reply is private.
March 1, 2018 at 7:18 pm in reply to: Long running processes getting killed off by WP Engine #1467869Gray
ParticipantWell, yes, disabling all other plugins from the cloned staging site does seem to eliminate the server errors, but that’s not really an option for most sites, as you can see from the attached screenshot.
I also uploaded the complete error log, but since your uploaded doesn’t accept .txt files, I renamed it to a .jpgI recently ran the “recurring event cleanup tool” which did help reduce the db bloat, but still getting some errors.
I had already deleted all the transients unfortunately, and still get many errors.
We only have 3 venues in place.
here’s a sample of the error log:
[Fri Mar 02 00:16:11.070953 2018] [:error] [pid 9325] [client 158.106.67.175:64108] WordPress database error Unknown column ‘post_parent’ in ‘group statement’ for query \n\t\t\tSELECT\n\t\t\t\tSQL_CALC_FOUND_ROWS \n\t\t\tFROM (\n\t\t\t\tSELECT DISTINCT wp_posts.ID FROM wp_posts INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) INNER JOIN wp_postmeta AS mt1 ON ( wp_posts.ID = mt1.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 = ‘_EventEndDateUTC’ ) WHERE 1=1 AND ( \n wp_postmeta.meta_key = ‘_EventStartDateUTC’ \n AND \n ( \n ( mt1.meta_key = ‘_EventVenueID’ AND CAST(mt1.meta_value AS SIGNED) = ‘13707’ )\n )\n) AND wp_posts.post_type = ‘tribe_events’ AND ((wp_posts.post_status = ‘publish’)) AND ((wp_postmeta.meta_value >= ‘2018-03-01 08:00:00’ AND wp_postmeta.meta_value = ‘2018-03-01 08:00:00’ AND wp_postmeta.meta_value <= '2020-03-03 07:59:59' ) OR (wp_postmeta.meta_value = ‘2020-03-03 07:59:59’ )) ORDER BY wp_posts.post_date ASC \n\t\t\t) a\n\t\t\tGROUP BY IF( post_parent = 0, ID, post_parent )\n\t\t\t\n\t\t\tLIMIT 20, 20\n\t\t / From [yogaunioncwc.com/wp-json/tribe/events/v1/events/?venue=13707] in [/nas/content/live/yogaunion3/wp-content/plugins/the-events-calendar/src/Tribe/Query.php:1094] */ 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, call_user_func_array, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, call_user_func, Tribe__Events__REST__V1__Endpoints__Archive_Event->get, Tribe__Events__REST__V1__Endpoints__Archive_Event->has_next, tribe_get_events, Tribe__Events__Query::getEvents, WP_Query->__construct, WP_Query->query, WP_Query->get_posts
Gray
Participantthat didn’t work either, but it’s ok. I’m willing to let it go at this point.
Gray
ParticipantIt would seem then that the little snippet of
$custom_text = array( 'Next Events' => 'More Events', );in my functions.php file would take care of that, but no luck.
I do believe that “Next Events” is indeed a string generated somewhere, but alas…
Gray
ParticipantThat totally works. I’ve got one more question; I’ve found no way to change the wording of “Next Events” to “More Events”. Is there a way to modify what that says? I can’t find that wording anywhere in a template in the views folder
Gray
ParticipantThank you hunter
Gray
ParticipantI still want people to have the option of UNCHECKING the checkbox, but for it to be set to CHECKED on first page load.
Gray
ParticipantActually, by selectively disabling every single one of my plugins, I tracked the incompatibility down to “Post Types Order” which seems like maybe I could resolve this by telling the premium version of that plugin to not target the Events post type.
Unless you’ve got another fix or patch?
Gray
ParticipantThis reply is private.
March 25, 2016 at 3:32 pm in reply to: appending the default events archive view to a theme page template #1094275Gray
Participantusing the setting for “HTML before event content” through wp-admin/edit.php?post_type=tribe_events&page=tribe-common&tab=display does put the same content on both the archive pages, and each individual event, so that’s not going to work as a solution unfortunately. I’ll just wait patiently for the new shortcodes in 4.2
Thank you.
March 24, 2016 at 2:10 pm in reply to: appending the default events archive view to a theme page template #1093674Gray
ParticipantHi Nico,
Thank you for the articulate answer to my question.
Do you have any idea of when you’ll be releasing 4.2? I’d rather not have to make more customisations than necessary.
-
AuthorPosts
