Title: non-object errors in add_flagging_link_comment method
Last modified: August 31, 2016

---

# non-object errors in add_flagging_link_comment method

 *  Resolved [Ruud Laan](https://wordpress.org/support/users/ruudjoyo/)
 * (@ruudjoyo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/non-object-errors-in-add_flagging_link_comment-method/)
 * Hi,
 * When posting a new comment, several errors are thrown in the Crowd_Control->add_flagging_link_comment()
   method.
 * They seem related to the comment object not being given to this filter from check_comment
   method in wp-includes/comment.php => $comment = apply_filters( ‘comment_text’,
   $comment );
 * $comment is just the comment text, but the comment object is missing.
 * Thanks!
    Ruud
 * [https://wordpress.org/plugins/crowd-control/](https://wordpress.org/plugins/crowd-control/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Postmatic](https://wordpress.org/support/users/vernal/)
 * (@vernal)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/non-object-errors-in-add_flagging_link_comment-method/#post-6939171)
 * Hey Ruud,
 * Thanks for the info. We haven’t brought this thing up to 4.4 yet but are planning
   on doing so this/next week. I’ve created an issue for this here:
    [https://github.com/postmatic/crowd/issues/23](https://github.com/postmatic/crowd/issues/23)
 * Best,
    Jason

Viewing 1 replies (of 1 total)

The topic ‘non-object errors in add_flagging_link_comment method’ is closed to new
replies.

 * ![](https://ps.w.org/crowd-control/assets/icon-256x256.png?rev=1330812)
 * [Crowd Control by Postmatic - Comment moderation decentralized](https://wordpress.org/plugins/crowd-control/)
 * [Support Threads](https://wordpress.org/support/plugin/crowd-control/)
 * [Active Topics](https://wordpress.org/support/plugin/crowd-control/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/crowd-control/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/crowd-control/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Postmatic](https://wordpress.org/support/users/vernal/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/non-object-errors-in-add_flagging_link_comment-method/#post-6939171)
 * Status: resolved