That raises a question for me: why, then, did the Romans use it? And successfully? Because the manipular legion was a direct derivative of it.
The classic legion was a far more maneuverable formation than the phalanx in its best days (as a formation) - less men tightly bunched together and better equipped for fighting over uneven ground than the long speared phalanx was.