Check the fuses and then check for engine vacuum leaks. This could be caused by a faulty brake light switch. Also check that your brake lights work. You might need to have this looked at by an ASE Certified Technician or your local Nissan dealer.
To find an ASE certified technician in your area go here: