Title: Posts won&#8217;t load
Last modified: February 24, 2023

---

# Posts won’t load

 *  Resolved [norawaters](https://wordpress.org/support/users/norawaters/)
 * (@norawaters)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/posts-wont-load-3/)
 * first of all thank you for the great plugin. I used it for many sites and it 
   always worked perfectly!
   Which makes this case all the more strange. I have installed
   the plugin to this page [https://drei.cologne/](https://drei.cologne/) and added
   the shortcode into the homepages php-file. With the aim to load new posts at 
   the far right of the News column section. This sections is not a custom post 
   type — simply renamed posts. I get content via two ACF fields (I installed and
   activated the corresponding compatibility plugin) which are also displayed in
   the repeater template. Nevertheless, nothing is loading.I tired the old the_title()
   trick to see if it’s maybe ACF, but still no reaction.
 * The error im getting is:
 * [Log] Error: (ajax-load-more.min.js, line 6)
   TypeError: undefined is not an object(
   evaluating ‘m.debug’)(anonyme Funktion) — ajax-load-more.min.js:6:39178(anonyme
   Funktion) — ajax-load-more.min.js:6:36830promiseReactionJob[Log] Error Msg: –“
   undefined is not an object (evaluating ‘m.debug’)” (ajax-load-more.min.js, line
   6)[Log] ALM Error started in adminajax (ajax-load-more.min.js, line 6)
 * This is part of the homepages php with the shortcode
 *     ```wp-block-code
       <div class="row">
        <div class="titelschrift">News:</div>
   
         <div class="item">
           <?php $yell_2 = new WP_Query(array('post_type' => 'post',)); while ($yell_2->have_posts()) : $yell_2->the_post(); ?>
   
       <div class="paragraph">
             <?php $link = get_field('link_to_artist_page');
             if( $link ): ?>
                 <a class="button" href="<?php echo esc_url( $link ); ?>"><?php the_field('artist_name'); ?></a>
             <?php else: ?>
                 <?php the_field('artist_name'); ?>
             <?php endif; ?><br>                    
                 <?php the_field('info_news'); ?><br>
                       </div>
             <?php endwhile; wp_reset_query(); ?>
       </div>
   
   
           <?php echo do_shortcode('[ajax_load_more container_type="div"  post_type="post" acf="true" posts_per_page="3" pause="true" images_loaded="true" scroll="false" transition_container_classes="#paragraph" button_label="More News…" button_loading_label="…loading" offset="15"]'); ?>  
   
       </div>  <!-- .row -->
       ```
   
 * And the repeater template
 *     ```wp-block-code
       <div class="paragraph">
       <?php $link = get_field('link_to_artist_page');
       if( $link ): ?>
       <a class="button" href="<?php echo esc_url( $link ); ?>"><?php the_field('artist_name'); ?></a>
       <?php else: ?>
       <?php the_field('artist_name'); ?>
       <?php endif; ?><br>                    
       <?php the_field('info_news'); ?><br>
       </div>
       ```
   
 * I’m not sure what to do next. Hope you can help me.
    -  This topic was modified 3 years, 2 months ago by [norawaters](https://wordpress.org/support/users/norawaters/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fposts-wont-load-3%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Thread Starter [norawaters](https://wordpress.org/support/users/norawaters/)
 * (@norawaters)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/posts-wont-load-3/#post-16514421)
 * An Updated solved my problem. Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Posts won’t load’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more/assets/icon-256x256.png?rev=2944639)
 * [Ajax Load More – Infinite Scroll, Load More, & Lazy Load](https://wordpress.org/plugins/ajax-load-more/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [posts not loading](https://wordpress.org/support/topic-tag/posts-not-loading/)

 * 1 reply
 * 1 participant
 * Last reply from: [norawaters](https://wordpress.org/support/users/norawaters/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/posts-wont-load-3/#post-16514421)
 * Status: resolved