check bonnet release handle inside car is int it closed postion as this sometimes are the problem
or the locking cam is stuck - look in the hole where the bonnet catch fits. Stick a smallish screwdriver in and you will probably be able to flick the cam back into its normal position. It took my m8 ages to work out what was wrong with is .