Reply To: BuddyPress not PHP 7.1 compatible – Broke my site
A brief check for wp-content/themes/rehub/buddypress/groups/single/index.php indicates that you use a wrong file.
There is no index.php file in the original template directory of /groups/single/…
So it may by interesting for you to review the group page install – evtl. register permalinks again and to check how you implemented “/buddypress” into your theme. About theme, do you use a child theme ?
Perhaps read the template doc if it is a bit unclear.