Ryan

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • Ryan
    Participant

    Hi Brian,

    See following link to our dev domain http://www.amanzimedia.com/aardkloplabs/

    Thanks

    Ryan
    Participant

    Sorry I meant to say that I also tried the following for centring the numbers:

    
    .widget.tribe-events-countdown-widget {
        width: 100%;
        margin: 0 auto;
    }
    
    Ryan
    Participant

    Hi Brian,

    Our theme developer came up with a solution to this issue. See his message below

    ——————————————–

    I think i found their error, they are missing a case to return a value. I just added an else statement.

    // check if are any meta queries
    if ( ! empty( $qv[‘meta_key’] ) ) {
    $postmeta_table = ‘tribe_event_postmeta’;
    } else {
    if ( isset( $qv[‘meta_query’] ) ) {
    if (
    ( is_array( $qv[‘meta_query’] ) && ! empty( $qv[‘meta_query’] ) ) ||
    ( is_a( $qv[‘meta_query’], ‘WP_Meta_Query’ ) && ! empty( $qv[‘meta_query’]->queries ) )
    ) {
    $postmeta_table = ‘tribe_event_postmeta’;
    } else {
    $postmeta_table = $wpdb->postmeta;
    }
    } else {
    $postmeta_table = $wpdb->postmeta; //Added this else statement
    }
    }
    return $postmeta_table;

    In this file: \wp-content\plugins\the-events-calendar\lib\tribe-event-query.class.php

    Approx line 948 ( Depending on the version )

    ———————————————–

    I implemented this and worked on my end.

    Please investigate.

Viewing 3 posts - 1 through 3 (of 3 total)