Title: Error started in adminajax
Last modified: February 25, 2021

---

# Error started in adminajax

 *  [rideorcry](https://wordpress.org/support/users/rideorcry/)
 * (@rideorcry)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/)
 * Hi there,
 * As of last night I am getting this error in my console
 * Error: TypeError: Cannot read property ‘postcount’ of undefined
    at Object.n.
   AjaxLoadMore.success (ajax-load-more.min.js?ver=5.4.3:6) at ajax-load-more.min.
   js?ver=5.4.3:6
 * Happened randomly as far as I can tell.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-started-in-adminajax%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14103184)
 * Ive seen this happen when a Repeater Template may have some issues.
    In the next
   ALM release this will not be a blocking issue as I plan to have this silently
   fail.
 * Can you share the Repeater Template?
 *  Thread Starter [rideorcry](https://wordpress.org/support/users/rideorcry/)
 * (@rideorcry)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14103216)
 * sure thing
 *     ```
       <div class="story">
                   <a href="<?php the_permalink(); ?>">
                       <?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID) );
       echo '<div class="thumb-image" style="background-image: url('. $url.')"></div>'; ?>
                   </a>
   
                   <div class="story-info">
   
                       <?php get_template_part( 'template-parts/content', 'categories' ); ?>
   
                       <a href="<?php the_permalink(); ?>">
                           <h3>
                               <?php the_title(); ?>
                           </h3>
                       </a>
                       <p>
                           <?php the_excerpt();?>
                       </p>
                       <h5>
                           <?php the_author(); ?>
                       </h5>
                   </div>
               </div>
       ```
   
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14103224)
 * Hmm looks fine.
    I would start by debugging this template. Maybe remove everything
   except for `<h3><?php the_title(); ?></h3>`
 *  Thread Starter [rideorcry](https://wordpress.org/support/users/rideorcry/)
 * (@rideorcry)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14103235)
 * So weird, i just made a duplicate copy of the theme and initiated then it started
   working again?
 *  [sethsanders](https://wordpress.org/support/users/sethsanders/)
 * (@sethsanders)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14119223)
 * I folowed the steps on this page and even ran with just the title like stated
   above and still didn’t work. Getting the following:
 *     ```
       ajax-load-more.min.js?ver=5.4.3:6 Error:  Error: Network Error
           at t.exports (ajax-load-more.min.js?ver=5.4.3:6)
           at XMLHttpRequest.p.onerror (ajax-load-more.min.js?ver=5.4.3:6)
       ajax-load-more.min.js?ver=5.4.3:6 XMLHttpRequest {readyState: 4, timeout: 0, withCredentials: false, upload: XMLHttpRequestUpload, onreadystatechange: ƒ, …}
       ajax-load-more.min.js?ver=5.4.3:6 ALM Error started in adminajax
       ajax-load-more.min.js?ver=5.4.3:6 ALM Error Debug:  
       ```
   

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

The topic ‘Error started in adminajax’ 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

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [postcount](https://wordpress.org/support/topic-tag/postcount/)

 * 5 replies
 * 3 participants
 * Last reply from: [sethsanders](https://wordpress.org/support/users/sethsanders/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/error-started-in-adminajax/#post-14119223)
 * Status: not resolved