Bifurcation for variational problems when the linearisation has no eigenvalues