Home › Forums › Front-end Issues › Meta data for edited post applied to page (5.3.9) › Reply To: Meta data for edited post applied to page (5.3.9)
There was an update to have rows in 5.3.9 that added a new function the_row_index()
. Before this update you could call have_rows('field_name
, $post_object), in other words you could use
$postin a loop instead of using
$post->ID. After the update
have_rows()` would always return false when using a post object. This was to do trying to convert the post object to a string before getting the valid post id, and this caused a PHP error.
If you were using a repeater, and a post object was used when executing have_rows()
, the PHP error during could have cause any number of things to go wrong.
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.