A photon is an excitation or a particle created in the electromagnetic field whereas an electron is an excitation or a particle created in the "electron" field, according to second-quantization.
However, it is often said in the literature that the wave function of a photon doesn't exist whereas it exists for an electron.
Why is it so?