Error Logs - bp_is_page is deprecated since version 1.7

I am getting the following error and would appreciate it if you could tell me how to fix it.

PHP Notice: bp_is_page is deprecated since version 1.7 with no alternative available. in /home/mary/public_html/wp-includes/functions.php on line 3786

Support access is granted. Thank you.