Forum Replies Created
-
AuthorPosts
-
Gilles
ParticipantJust mentioning that switching to the WordPress default theme does not help, so nothing to do with my functions.php changes.
Gilles
ParticipantI tried disabling all the other plugins on my dev website and the event admin page still freezes. So it looks like it is an issue with the events calendar pro plugin and recurring events.
Gilles
ParticipantHi Courtney, I have activated the license from my site and I see it connected in My Account >> Licenses. It should be safe to remove the old license now.
Gilles
ParticipantHello,
I never created a second license. I believe it happened when I renewed my existing license. Please remove the old unused license from my account.
Thank you!
Gilles
ParticipantThank you for the code. It does help, even though the query is still flagged as ‘slow’ sometimes. Now I have figured out that most of time is spent in another places in the php code, so I am trying to look into that to improve page load times. Thank you for the help, I will close this issue for now.
Gilles
ParticipantThis is what I am calling:
// build and run query
$args = array( ‘category_name’ => ‘class’,
‘eventDisplay’ => ‘list’,
‘posts_per_page’ => 10,
‘post_status’ => ‘publish’,
);$wp_query = tribe_get_events( $args, true );
Gilles
ParticipantI have Redis object cache installed and activated through the Redis Object Cache plugin. My hosting service provides a Redis database for this purpose. Memcache is always running.
Looking at the query, it appears that it contains the current time. Therefore query caching is not really going to help much. If I could remove the seconds and maybe even round the minutes, that would help. But the query always works based on ‘now’. Any suggestions? does the Events Calendar plugin provide a rounding function? My events do not change second-by-second.
Thank you
March 16, 2016 at 4:31 pm in reply to: Class 'Tribe__Events__Pro__Recurrence_Meta' not found #1090054Gilles
ParticipantSo I found the problem. You recently changed ‘Tribe_Events_Pro_Recurrence_Meta’ to ‘Tribe_Events_Pro_Recurrence__Meta’, ie you added the missing underscore before ‘Meta’. That’s why my code broke.
All fixed now. Is there a better function I can use that would not be subject to such changes? This is the function I’m calling:
$event_ids = Tribe__Events__Pro__Recurrence__Meta::get_events_by_slug($event_slug);
Gilles
March 11, 2016 at 10:49 pm in reply to: Events page (set to 'calendar' URL) is picking up template from 'events' page #1088094Gilles
ParticipantI found the bug in my Total wordpress them. This:
$page_slug = get_option( ‘eventsSlug’, ‘events’ );
should be:
$page_slug = Tribe__Settings_Manager::get_option( ‘eventsSlug’, ‘events’ );
in these two files:
Total/framework/classes/global-object.php
Total/framework/tribe-events/tribe-events-config.phpI don’t know if something had changed on the Events Calendar side, or if it was just an oversight of the Total theme developer.
Gilles
Gilles
ParticipantOkay, that’s what I thought and did. Thank you for the reply!
May 6, 2015 at 1:19 pm in reply to: Show only first instance of recurring event in search results #960961Gilles
ParticipantIt’s probably better to replace is_search() by $query->is_search.
May 6, 2015 at 1:13 pm in reply to: Show only first instance of recurring event in search results #960957Gilles
ParticipantNo assistance needed 🙂
Gilles
ParticipantA few more details, it is the “Admin Sort” option that needs to be turned off in the Post Types Order plugin admin options to make things work properly again.
Gilles
ParticipantOkay good news, you were right. I narrowed it down to the ‘Post Type Order’ plugin. Its description reads:
Posts Order and Post Types Objects Order using a Drag and Drop Sortable javascript capability
The ‘javascript capability’ part should have ticked me off. Anyway, do you have a section on your website where you list incompatible/dangerous plugins. It would be a good thing to add and this plugin should be added to the list.
Thank you for pushing me to follow your advice 🙂
Gilles
Gilles
ParticipantHmm it looks like I am looking at the wrong query. If you could tell me where the query is done for when the page gets refreshed, it would help my debugging. Thanks!
-
AuthorPosts
