Thank you! I found the problem. To load the components I was using add_action( ‘bp_init’, ‘bp_group_videochat_init’ ); and I changed it to add_action( ‘bp_include’, ‘bp_group_videochat_init’ );
The quote typo appeared when I copied the functions.
function bp_group_chat_format_notifications( $action, $item_id, $secondary_item_id, $total_items) {
global $bp;