Title: Fatal error: Call to undefined method WP_Comment_Query::get_comments()
Last modified: March 2, 2020

---

# Fatal error: Call to undefined method WP_Comment_Query::get_comments()

 *  Resolved [mtltech](https://wordpress.org/support/users/mtltech/)
 * (@mtltech)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_comment_queryget_comments/)
 * I have just installed Cleantalk AntiSpam on a new site, and received the following
   error, when trying to scan existing Comments for spam.
 * Fatal error: Call to undefined method WP_Comment_Query::get_comments() in /var/
   sites/h/hephzibahkaplanarttherapy.co.uk/public_html/hkat14/wp-content/plugins/
   cleantalk-spam-protect/inc/find-spam/ClassCleantalkCommentsListTableScan.php 
   on line 21
 * Hope you can guide me.
    Thanks for keeping us safe. Peter

Viewing 1 replies (of 1 total)

 *  Plugin Support [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_comment_queryget_comments/#post-12498587)
 * Hello,
 * Could you tell us the plugin’s version, WordPress version, PHP version?

Viewing 1 replies (of 1 total)

The topic ‘Fatal error: Call to undefined method WP_Comment_Query::get_comments()’
is closed to new replies.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [Anti-Spam by CleanTalk. Spam protection](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_comment_queryget_comments/#post-12498587)
 * Status: resolved