After update to Buddypress 2.0, I got the below error

After update to Buddypress 2.0, I got the below error message whenever I click save changes button. But the data will be updated.

Fatal error: Call to undefined function bp_activity_get() in /home/myinilth/public_html/mydemo/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-activity.php on line 266