can someone explain this error message

When I tried to send a message I got

Fatal error: Call to undefined function bp_get_settings_slug() in /websites/123reg/LinuxPackage21/pa/pe/rf/thisismysite.co.uk/public_html/wpshop/wp-content/plugins/buddypress/bp-messages/bp-messages-notifications.php on line 20

thanks