I had that very recently with a Brother walking foot! I nearly died as it put a huge glob on an important quilt.
I cleaned the quilt per the fast instructions of the ladies on the board and cleaned the inside of the walking foot with alcohol. It seems fine now.
I've never had it coming from the needle bar area, but maybe the alcohol swabs would work there, too.