WordPress.org

Support

Support » Plugins and Hacks » Delete comment produces sql error

Delete comment produces sql error

  • I’m getting an error in my php error log when a comment is deleted.

    WordPress database error Column 'post_id' cannot be null for query INSERT INTOwp_activity_monitor_posts` (user_id, blog_id, post_id, comment_id) VALUES
    (‘1’,
    ’99’,
    null,
    ‘537’
    )
    made by wp_delete_comment, do_action, call_user_func_array, ThreeWP_Activity_Monitor->wp_set_comment_status, ThreeWP_Activity_Monitor->sqlCommentSet, ThreeWP_Activity_Monitor->sqlPostLog, ThreeWP_Activity_Monitor_3Base->query_insert_id`

  • The topic ‘Delete comment produces sql error’ is closed to new replies.