Same here, i use update_field(‘total_de_capitulos’,$capitulos,’livro_’.$idLivro);
If i go to wp-admin everything is ok
But when i try
$termo = get_queried_object();
echo get_field(‘total_de_capitulos’, $termo);
I get wrong results.
And i checked that if i go to the term and save it again everything works fine!