Reading this article I ran into a doubt.
It derives the Polyakov action for a general $p$-brane $$S(X,g)=-\frac{T}{2}\int\text{d}^{p+1}\xi\,\sqrt{-g}\left(g^{ab}h_{ab}-(p-1)\right)\tag{7}$$ by integrating out the Lagrange multiplier from the action $$S(X,g,\Lambda)=-T\int\text{d}^{p+1}\xi\,\left(\sqrt{-g}+\Lambda^{ab}(h_{ab}-g_{ab})\right).\tag{5}$$ Indeed, the equations of motion obtained by varying $g_{ab}$ in the second action yield $$\Lambda^{ab}=\frac{1}{2}\sqrt{-g}g^{ab}.\tag{6}$$
Now, the equations of motion obtained from the first action demand that $$h_{ab}=\frac{1}{2}g_{ab}\left(g^{bc}h_{bc}+1-p\right).\tag{8}$$ Multiplying this equation by $g^{ab}$ one obtains for $p\neq 1$ that $$g^{ab}h_{ab}=p+1\tag{9}.$$ This in turn yields $$g_{ab}=h_{ab}\tag{4}$$ which was already present in the second action by varying the Lagrange multiplier. However, in $p=1$ (for a string) one can at most say that $g_{ab}\propto h_{ab}$. Thus, it seems that the second and first actions are not equivalent in this case. Why is that if we managed to prove the equivalence by varying $g_{ab}$?