Error creating a new debate within the forum with the theme groups BuddyPress Scholar

When creating a new forum discussion within the groups, the error:
Fatal error: Call to undefined function bp_has_topic_posts () in / home / meetingm / public_html / wp-content / themes / bp-scholar / groups / single / forum / topic.php on line 1
Thanks