Hey there,
One one site I manage I noticed that a query I had stopped returning results. Recently updated to Jetpack 5.4. On another copy of the site, I can see that I can search for the meta key be_stats
but on the afflicted sites any db entried with that key are gone. This was just reported so I’m going to wait a full day and see if they return. I tried deleting transients to see if that might help so we’ll see.
I just upgraded a couple of sites to Jetpack 3.4 and now my queries are returning nothing
]]>Hi,
Thanks for the great plugin. It works as expected most of the time, but sometimes the posts disappear although there are posts in the Jetpack stats.
Looking at the transient _transient_be_stats
it has a value of a:0:{}
. Normally there are a number of post IDs inside it.
be_stats_args
is set to array( 'days' => 7, 'limit' => 100 )
and I am using this to display the posts:
$args = array(
'meta_key' => 'be_stats',
'posts_per_page' => 15,
'orderby' => 'meta_value_num',
'order' => 'ASC',
);
$loop = new WP_Query( $args );
if( $loop->have_posts() ):
etc
If I clean out the empty transient manually, the posts show up again in the popular posts list. Perhaps this happens if the connection to wordpress.com is down when the transient runs out?
]]>