Title: Bug in function get_lastpost_all
Last modified: September 2, 2016

---

# Bug in function get_lastpost_all

 *  [Tim](https://wordpress.org/support/users/demo88/)
 * (@demo88)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/bug-in-function-get_lastpost_all/)
 * Can you please add `if ($post !== null)` before line 711 to check if a post is
   available?

The topic ‘Bug in function get_lastpost_all’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mingle-forum_255ba6.svg)
 * [Mingle Forum](https://wordpress.org/plugins/mingle-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mingle-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mingle-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/mingle-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mingle-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mingle-forum/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Tim](https://wordpress.org/support/users/demo88/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/bug-in-function-get_lastpost_all/)