In this paper we investigate a boundary value problem for a nonlinear differential problem of fractional order. Under appropriate hypotheses and by applying the critical point theorem, we obtain some new criteria to guarantee that the fractional differential problem has infinitely many weak solutions. In addition, an example is given to illustrate the main results.