I updated from 5.0.9 to 5.1.1 and the Select fields stopped displaying it’s values.
Had them in my theme as part of Flexible content and were called with
<?php the_sub_field('text_module_module_style'); ?>
Reverted back to 5.0.9 for now as they work there.
I’m am noticing this also within a Flexible content field. It looks like select WYSIWYG fields’ content are not displaying when I try to output them to the page:
<?php echo get_sub_field('section_content'); ?>
I can confirm this bug/issue also. Staying on the 5.1 for now.
Same here, I had some wysiwyg fields named ‘content’ that were not displaying. They were within a flexible content field, I had others that were named ‘content’ as well, and they were showing, in the same flexible content group. Rolled back to 5.1.0 and all is well again.
Same issue here with some flexible content fields: image, text and true/false. <?php get_sub_field( 'text' ); ?>
is not displaying any value.
Same issue here with flexible content fields working sporadically. They work great as soon as you roll back to 5.1.0 though.
Same Problem here. ACF-Pro 5.1.1 with get_field and get_sub_field. Problem is only in frontend. Backend works fine. Rolled it back to 5.1.0 everything works fine again.
Just to add my voice to the chorus, I experienced the same issue on multiple flex content items. Rollback to 5.10 solved it.
Experiencing similar problems. Backend works as expected but some fields won’t show using get_sub_field
or the_sub_field
. print_r()
of the flexible content field shows everything is there.
This broke some sites for me aswell, repeater & flexible content field works sporadically.
Also noticed some weird stuff like have_rows() returning “0” instead of false for an empty repeater.
Downgrading solved everything.
Yep, same problem here—took me a few minutes to figure out what happened. Is there a bug report for this??
Is there somewhere this is setup as a bug report? I’m curious if this issue is being fixed or if help is need to troubleshoot the issue?
Hi guys
Thanks for the bug reports and info.
The issue occurs when a flexible content field contains 2 fields using the same name, I have fixed the issue and you can expect an update today
Update: Just released ACF PRO 5.1.2 – fixes have_rows() issues
Please let me know if your issues are resolved after updating
Just to confirm that 5.1.2 does resolve the issues for me.
Thanks Elliot.
I’m still seeing this issues in 5.1.5. I have a flexible content field with a repeater as a subfield. I used get_sub_field() to get the repeater array but all of the values returned are names fields_********* instead of the field name I entered in the admin area. Thanks for the help!
The topic ‘Update 5.1.1 select fields not showing’ is closed to new replies.
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.