[Tex/LaTex] Beamer patching footnotes warning: “Patching footnotes failed. Footnote detection will not work.”

beamerbiblatexfootnoteswarnings

Consider the following MWE

\documentclass{beamer}

\usepackage{lmodern}
\usepackage[style=authoryear-comp,backend=biber]{biblatex}

\begin{document}
\begin{frame}
  Foo
\end{frame}
\end{document}

This will give the warning:

Package biblatex Warning: Patching footnotes failed.
(biblatex) Footnote detection will not work.

I read here and in this answer that the warning can be safely ignored. Can I force biblatex to avoid giving the warning altogether?

Best Answer

This warning is issued during package loading as biblatex attempts to patch certain commands (using etoolbox). So, there's no way of avoiding this message directly without editing a .sty file (biblatex2.sty in this case) or using alternate means... like the silence package.

\documentclass{beamer}
\usepackage{silence,lmodern}
\usepackage[style=authoryear-comp,backend=biber]{biblatex}
% Filter warnings issued by package biblatex starting with "Patching footnotes failed"
\WarningFilter{biblatex}{Patching footnotes failed}

\begin{document}
\begin{frame}
  Foo
\end{frame}
\end{document}