CoursePress and Membership 2 shortcodes issues

When these shortcodes are on the same page [ms-membership-account] AND [courses-student-dashboard], I get a PHP warning "Header already sent". Only the forms and a white page is displayed.