I 100% agree we should pray for Pope Francis, who I think we can agree on is 99.999999% likely to be hung up in Purgatory.
As for Pope John XXII, my understanding is that His 4 times erroring on the Beatific vision was actually at Mass during His Homily, which in theory, I am not a Canon lawyer, could be a more serious error than Pope Francis errors regarding the God Wills a Diversity of Religions, which He did clarify and this other comment, which He has not.