Ibid funciton

I have inserted the ibid and subsequent functions into the code, but they don't work in the text itself when using footnotes.

Could you please tell me what is the error in the code and what needs to be changed?

https://pastebin.com/kzgPpNXm

Sign Inor Registerto comment.