I’m having a strange issue that I started encountering after the WP 3.8 update.
Whenever I set a repeater field to show on the front-page editor in the backend It just breaks the page editor.
It shows either a white screen or a broken text area/wysiwyg editor (whichever I have enabled on the page).
I’m getting really frustrated especially because I’m working on a project that’s already overdue, and this is most certainly not helping.
If this is some sort of a front-end issue, here is the code I’m using.
<?php if(get_field('myndir_forsida')): ?> <ul> <?php while(has_sub_field('myndir_forsida')): ?> <?php $image = get_field('myndir_forsida_mynd') ?> <a href="<?php the_permalink(); ?>"><li><img src="<?php echo $image['sizes']['large']; ?>" alt="<?php echo $image['alt'] ?>"></li></a> <?php endwhile; ?> </ul>
It’s in icelandic, by the way.
Thanks in advance,
I’ve experienced a similar issue, I just started up setting a fresh WordPress installation, installed the repeater field plugin, and the ACF plugin and then created a new custom post type page that included some ACF fields.
Repeater fields where also included, first time I saved the page, with only one regular ACF text field did not produce any problems.
Then saving the page with a repeater field caused the backend of WordPress to break and all the other fields did not save as well.
So it looks like there is some serious breakage due to the ACF plugin combined with the Repeater Field plugin once data is saved to the database.
WordPress backend doesn’t seem to load correctly anymore, background color shows a dark gray color #666666 instead of a white background.
The issue I’m having is that the page editor just shows a blank page or a broken text editor, whether it’s a wysiwig editor or just the normal text area.
I can confirm that ACF 4.3.2 and WP 3.8 are working well together.
May I ask which color theme you are using in the wp-admin?
Also, can you turn on DEBUG MODE in your wp-config.php file and report any PHP errors on the page
Also open your console log and report any JS errors on the page.
This may be a conflict between another plugin / theme code and WP 3.8 which is then snowballing into an issue which stops ACF from working.
I’m afraid I can’t give you any php errors since, there simply aren’t any (judging by the fact that I have wp_debug set to true in the wp_config file.
All it shows is a blank screen, like a empty .html file.
Strange, I know, but I don’t know what to do.
Also, I’m using the starter color theme, the black/blue one.
Thanks for your response,
Hey again gang,
I solved this by simply moving the field group to the options page.
I was trying to avoid it, but there were no other options available.
(No pun intended.)
Issue has been solved with me as well, turns out is was some theme code that was causing issues. Specifically some css enqueue code.
You must be logged in to reply to this topic.
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!
© 2020 Advanced Custom Fields. Subscribe