Gilles

Forum Replies Created

Viewing 15 posts - 16 through 30 (of 37 total)
  • Author
    Posts
  • in reply to: Admin event page freeze #1302735
    Gilles
    Participant

    Just mentioning that switching to the WordPress default theme does not help, so nothing to do with my functions.php changes.

    in reply to: Admin event page freeze #1302727
    Gilles
    Participant

    I 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.

    in reply to: Renewal notice and emails #1280611
    Gilles
    Participant

    Hi 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.

    in reply to: Renewal notice and emails #1279516
    Gilles
    Participant

    Hello,

    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!

    in reply to: Slow query #1276617
    Gilles
    Participant

    Thank 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.

    in reply to: Slow query #1274359
    Gilles
    Participant

    This 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 );

    in reply to: Slow query #1274356
    Gilles
    Participant

    I 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

    in reply to: Class 'Tribe__Events__Pro__Recurrence_Meta' not found #1090054
    Gilles
    Participant

    So 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

    Gilles
    Participant

    I 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.php

    I 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

    in reply to: Using regular categories for events #962277
    Gilles
    Participant

    Okay, that’s what I thought and did. Thank you for the reply!

    Gilles
    Participant

    It’s probably better to replace is_search() by $query->is_search.

    Gilles
    Participant

    No assistance needed 🙂

    in reply to: Problem with list view #959148
    Gilles
    Participant

    A 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.

    in reply to: Problem with list view #959144
    Gilles
    Participant

    Okay 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

    in reply to: Problem with list view #959140
    Gilles
    Participant

    Hmm 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!

Viewing 15 posts - 16 through 30 (of 37 total)