I am betting your answer lies here.
You can start trouble shooting by checking the brake light switch for power and function.