Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter Bhavika Jadav

    (@bhavika-jadav)

    Thanks for supporting.

    I have added below query. Is this the reason its showing error:

    $meta_query[] = array(
    'key'     => 'sunday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'sunday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'monday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'monday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'tuesday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'tuesday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'wednesday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'wednesday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'thursday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'thursday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'friday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'friday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );
    $meta_query[] = array(
    'key'     => 'saturday_happy_hour_start_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '>='
    );
    $meta_query[] = array(
    'key'     => 'saturday_happy_hour_end_time',
    'value'   => $_GET['time'],
    'type'    => 'DECIMAL(4,2)',
    // show searched for time along with later times as well...
    'compare' => '<='
    );

Viewing 1 replies (of 1 total)