Happened to me. When you plugged the wiimote into the guitar, the whammy bar must have been pressed down, so when it was plugged in, the Wii thought that the whammy bar was in standby while being pressed down. Thus, no whammy action during long notes.

Just take out the wiimote and when you plug it in again, make sure the whammy bar is not being pushed down.