Two of my pokemon are only gaining 1 xp per fight

I am doing an egglocke, and for some reason, two of my pokemon only gain 1 xp per battle. The two are at level 25, and I have not yet beat the first gym. Is there something about egglockes which only allow pokemon to reach a certain level at certain points of the game?

You’re on hard mode. Experience is capped to 1 when you hit certain level caps on hard mode.

Oh, yeah! I forgot I chose hard mode! :blush: Thanks.