Photon energy formula states that energy of photon is $h\nu$ where $h$ is Planck's constant and $\nu$ is photon frequency. But at the same time AFAIK it is accepted that known physical interactions (electromagnetism, quantum fields, etc.) are non-existent in scales smaller than Planck's units.
Therefore, I'm asking if photons' wave lengths can be smaller than Planck's units. Is given formula correct or does energy of photon reaches infinity as it's wavelength approaches Planck's length?
Given both claims, namely photon energy formula and laws at Planck's scales, are correct, I see this as a contradiction in a theory. How is it resolved if it even is?