1. Please check if activity is enabled in WP Admin->Settings->BuddyPress



2. Make sure the certificate awarded to the student is recorded on the course activity /activity directory.