I did the same code in my footer and the topics are displayed correctly.
I don't understand where the error came from. I have created several blogs before with this code and it's works excepts on this one, if someone knows the solutions I am interested