Events Feed Broken After Latest Pro Update 6.1.3

I created an events feed to feed in Tribe Events. Before the latest update I was running (Pro 6.0.5), it worked perfectly fine and looked like this:

But after the latest update of Pro it’s broken and looks like this:

Here is the Provider string I’m using on the Row: post_type=tribe_events&meta_key=_EventEndDate&orderby=meta_value&order=ASC&meta_query%5B0%5D%5Bkey%5D=_EventStartDate&meta_query%5B0%5D%5Bvalue%5D={{dc:global:date format="Ymd"}}&meta_query%5B0%5D%5Bcompare%5D=%3E%3D

Did you guys change the way the global date is fed into the provider or something with the latest update? Any idea what’s causing this problem?

Hi @OctoCog,

Thanks for reaching out.
Sometimes the only screenshot does not help us to recognize the issue you are having. We need to examine your site to get the cause of the issue.
Hope you will not mind sharing your website login credentials in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password
– Exact Page URL where you are having this problem
To create a secure note, click the key icon underneath any of your posts.

Thanks

I added the secure note. Let me know if you need anything else.

Hey @OctoCog,

You will have to explicitly set “Type=Date” in your query arguments. For example:

$meta_query[] = array(
    'key'     => '_EventStartDate',
    'value'   => date('Ymd'),
    'compare' => '>=',
  'type' => 'DATE'
);

$query = array(
    'post_type'  => 'tribe_events',
    'meta_key'   => '_EventEndDate',
    'orderby'    => 'meta_value',
    'order'      => 'ASC',
    'meta_query' => $meta_query
);
var_dump( http_build_query( $query ) );

And this will give you this query string:
post_type=tribe_events&meta_key=_EventEndDate&orderby=meta_value&order=ASC&meta_query%5B0%5D%5Bkey%5D=_EventStartDate&meta_query%5B0%5D%5Bvalue%5D={{dc:global:date format="Ymd"}}&meta_query%5B0%5D%5Bcompare%5D=%3E%3D&meta_query%5B0%5D%5Btype%5D=DATE

Kindly let us know how it goes.

Perfect! That fixed the feed. Thank you :blush:

You are most welcome, @OctoCog.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.