@robwent thanks for your input. The field works in a post, but not in the category. I’ve rolled back the ACF plugin for the time being. At least my site is back up again.
@robwent do you mean switch between the return array options, by editing the field group? Did it work for you? Text field doesn’t have different return formats, or perhaps I’m misunderstanding?
The following code now returns nothing on the category.php template, used to work fine. I use this code on multiple sites:
<php while (have_posts()) : the_post(); ?>
<h3 class="text-center"><?php the_title(); ?></h3/>
<?php the_field('r4m_video_url'); ?>
<?php if ( get_field( 'r4m_video_description') ): ?>
<?php the_field('r4m_video_description'); ?>
<?php endif; ?>
<?php endwhile; ?>
‘r4m_video_url’ is a text field for iframe code.
Any ideas what is causing the error?