Forum Replies Created

  • Update! Problem solved! I found this post from another person who had the same issue resolved by updating ACF. I didn’t see any updates for it in my local installation (multisite), but when I checked what version my live site was running I noticed my local one was several versions behind. The latest one is 5.7.10. You can download it from your account. It’s solved the issue for me.

  • I’m having the same problem, also running it local on MAMP. WP 5.0.3 and ACF 5.5.3. I haven’t seen the error message. I tried a few things and still ended up with the same sub field –> new separate field problem when adding anything to flexible content.

  • I have a solution for you! I used the code from the bottom of Function Reference/get pages

    and figured out by trial and error that <?php echo the_field('your_field_id', $page->ID); ?> does the trick to display field data from the child pages.

    Final code (including post thumbnail if you want):

    	$mypages = get_pages( array( 'child_of' => $post->ID, 'sort_column' => 'post_date', 'sort_order' => 'desc' ) );
    	foreach( $mypages as $page ) {		
    		$content = $page->post_content;
    		if ( ! $content ) // Check for empty page
    		$content = apply_filters( 'the_content', $content );
    		<?php echo get_the_post_thumbnail($page->ID); ?>
    		<h2><a href="<?php echo get_page_link( $page->ID ); ?>"><?php echo $page->post_title; ?></a></h2>
    		<p>Custom field info: <?php echo the_field('your_field_id', $page->ID); ?> </p>
    		<div class="entry"><?php echo $content; ?></div>
  • Hi xhezairi,

    Did the database solution I suggested above (pilfered from elsewhere) not work for you? I encountered this issue again recently and it seemed to have been resolved by clicking the ‘upgrade’ button from within one of my sites and not in the network admin area.

  • Hi there,

    I encountered the same issue, running WP locally with Multisite. I couldn’t find any solutions, but I did get to work when I left the plugins area and went back to the main dashboard. I got a pop-up warning about backing up my database, okayed that and then the upgrade worked. Hope this helps.

    If that doesn’t work, go into phpAdmin and in the usermeta table, make sure wp_capabilities is a:1:{s:13:”administrator”;s:1:”1″;} and that wp_user_level is 10. Then try again.

Viewing 5 posts - 1 through 5 (of 5 total)