Say I am working on a problem where I have two generalized coordinates $q_1,q_2$ and my Lagrangian is independent of $q_1$, i.e. I have $L(\dot{q}_1,q_2,\dot{q}_2)$. Then we say that $q_1$ is a cyclic coordinate, and that the corresponding momentum $\frac{\partial L}{\partial \dot{q_1}}$ is constant.
But if I compute $\frac{\partial L}{\partial \dot{q}_1}$ in my case, it is not constant, i.e. if I take $\frac{d}{dt}\frac{\partial L}{\partial \dot{q}_1}$ it is not equal to $0$? What's going on?
Example, but I really just want to understand conceptually: Spherical pendulum with arm length $a$ $$L=\frac12 m(a^2\dot{\theta}^2+a^2\sin^2(\theta)\dot{\phi}^2)-mga(1-\cos(\theta))$$ since $\phi$ doesn't appear, we say that it is cyclic and hence corresponding generalised momentum is constant: $$p_\phi = ma^2\sin^2(\theta)\dot{\phi}$$ but $$\dot{p_\phi}=2ma^2\cos(\theta)\dot{\theta}+ma^2\sin^2(\theta)\ddot{\phi}\ne0.$$