Title: An error about postcount
Last modified: August 7, 2020

---

# An error about postcount

 *  Resolved [MarkJ](https://wordpress.org/support/users/forusak/)
 * (@forusak)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/an-error-about-postcount/)
 * I am using this plugin with extension for ACF, and this is what I get when trying
   to use for my gallery:
 *     ```
       Error:  TypeError: Cannot read property 'postcount' of undefined
           at Object.n.AjaxLoadMore.success (ajax-load-more.min.js?ver=5.3.7:6)
           at ajax-load-more.min.js?ver=5.3.7:6
       ajax-load-more.min.js?ver=5.3.7:6 Error Msg:  Cannot read property 'postcount' of undefined
       ajax-load-more.min.js?ver=5.3.7:6 ALM Error started in adminajax
       ```
   

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

 *  Thread Starter [MarkJ](https://wordpress.org/support/users/forusak/)
 * (@forusak)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/an-error-about-postcount/#post-13223426)
 * Nevermind, I deleted plugin already when I saw how much resources it adds to 
   a site. I need it just for one simple function. Will try find solution somewhere
   else.
 *  Plugin Author [Darren Cooney](https://wordpress.org/support/users/dcooney/)
 * (@dcooney)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/an-error-about-postcount/#post-13223437)
 * Sounds good.
    By resources you mean the JS file loaded on the front end?
 *  Thread Starter [MarkJ](https://wordpress.org/support/users/forusak/)
 * (@forusak)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/an-error-about-postcount/#post-13225262)
 * Right. I found a really small plugin for this but it is not ajax.

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

The topic ‘An error about postcount’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [MarkJ](https://wordpress.org/support/users/forusak/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/an-error-about-postcount/#post-13225262)
 * Status: resolved