Home › Forums › Front-end Issues › After upgrade post aggregator not working › Reply To: After upgrade post aggregator not working
Hi @mpayumo
Could you please let me know the result of the following debug code?
echo "<pre>";
echo "======== Start debugging the events variable ========";
print_r($events[$post_id]);
echo "======== End debugging the events variable ========";
echo "======== Start debugging the events date ========";
print_r(get_sub_field('event_date'));
echo "======== End debugging the events date ========";
echo "</pre>";
Also could you please let me know the result of this code:
echo "<pre>";
while ( $lulus->have_posts() ) : $lulus->the_post();
$dates = get_field('dates');
print_r($dates);
endwhile;
echo "</pre>";
To avoid long reply, you can include only the first post or use https://gist.github.com/ instead.
Thanks 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.