Latex weird footnote numbering

Solution for Latex weird footnote numbering
is Given Below:

enter image description here

enter image description here

There are weird footnote numbers that I did not intend to generate. I added only two footnotes, but there are footnotes number 2 and 4 that I did not write.

I cannot figure out the solution. Did anyone experience the same problem or know the solution?

The below is the Latex code of this. Even if I don’t use any of usepackage options, the problem still happens.

documentclass{article}

begin{document}
blablablalbafootnotemark
\
\
\
footnote{firstfootnote}
\
\
\
wordswordswordsfootnotemark
\
\
\
footnote{secondfootnote}

end{document}

I just found the solution.

Using footnote was the problem. Changing it to footnotetext solves the problem.

documentclass{article}

begin{document}
blablablalbafootnotemark[1]
\
\
\
footnotetext[1]{firstfootnote}
\
\
\
wordswordswordsfootnotemark[2]
\
\
\
footnotetext[2]{secondfootnote}

end{document}

The additional numbers are added by using both footnotemark and footnote. To avoid this problem, only use footnote{...} where you want your footnotemarker to be:

documentclass{article}

begin{document}
blablablalbafootnote{firstfootnote}


wordswordswordsfootnote{secondfootnote}

end{document}