Support

Account

Forum Replies Created

  • Looking back on this, I noticed something. For me, the issue only appears to happen when NOT logged into wp-admin. @hube2, if you’d like I can send you the WP admin name and PW to the install I linked above for you to confirm.


    @jsette7
    are you able to check this out as well?

  • No other plugins are installed.

    This issue is getting stranger as time goes on. On my test environment (http://acftax.wpengine.com/?p=1), those taxonomy fields randomly started working. However, on my staging environment, they’re obviously still broken. I tried switching themes to Twentyseventeen, re-adding my custom fields and taxonomies, and adding the acf_form snippet, and instead of “The results could not be loaded”, I got “No results found”

    Are their arguments that might be required with register_taxonomy for custom post type taxonomies to work correctly with ACF’s taxonomy field inside acf_form?

  • Would love some additional assistance on this. Thanks!

  • Hi John, thanks for your reply.

    1) acf_form_head() is the first function on my template file, as <?php acf_form_head(); get_header(); the_post(); ?>

    2) No JS errors were returned in the console when trying to load taxonomies. Is there a need/method to turn on any verbose logging?

    3) Turning on WP_DEBUG and WP_DEBUG_LOG didn’t return any errors on the page or in my logs.

    I tried creating a fresh WP install at http://acftax.wpengine.com/?p=1 with the default 2017 theme. Everything is vanilla except for code inside the loop. single.php‘s code in its entirety is attached.

    
    <?php acf_form_head(); get_header(); ?>
    
    <div class="wrap">
    	<div id="primary" class="content-area">
    		<main id="main" class="site-main" role="main">
    
    			<?php
    			/* Start the Loop */
    			while ( have_posts() ) : the_post();
    
                    echo '// START <code>acf_form()</code>';
                    acf_form(array(
                        'post_id' => $post->ID
                    ));
                    echo '// END <code>acf_form()</code>';
    
    			endwhile; // End of the loop.
    			?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    	<?php get_sidebar(); ?>
    </div><!-- .wrap -->
    
    <?php get_footer();
    

    And I still get the same error, leading me to believe this is an issue within ACF or Select2.

    Any additional assistance on this would be greatly appreciated. Thanks!

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