The problem was related with a WordPress update and the permalinks, I simply updated the permalink structure (without modifying it) and everything worked fine.
I don’t know why, but if you’re facing the same problem or something similar is worth trying.