If I use the caption package with beamer frames, I get a 'missing number treated as zero'.
The following compiles with texlive, but if I uncomment the \usepackage{caption} line, I get the error.
\documentclass[10pt]{beamer}
\usetheme{metropolis}
\usepackage{appendixnumberbeamer}
% \usepackage{caption}
\title{Error}
\author{Author}
\institute{Stack Overflow}
\begin{document}
\maketitle
\begin{frame} \frametitle{Introduction}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{figure}
\includegraphics[width=.9\linewidth]{example-image-duck}
\caption{Duck\footnote[frame]{Duck Duck}}
\end{figure}
\end{column}
\begin{column}{0.5\textwidth}
\begin{figure}
\includegraphics[width=.9\linewidth]{example-image-duck}
\caption{Duck\footnote[frame]{Duck Duck}}
\end{figure}
\end{column}
\end{columns}
\end{frame}
\end{document}

[frame]option added to the macro\footnote[frame]{}. Removing this option will make it work :\caption{Duck\footnote{Duck Duck}}. Where did you get this[frame]option? – AndréC Jul 19 '20 at 05:52beameris incompatible withcaption.beameralready provides caption-related templates to control style of\caption, seebeamermanual, sec. 12.6. Hence you can avoid loadingcaptionby make use of those beamer caption templates. – muzimuzhi Z Jul 19 '20 at 05:55\footnote[frame]is supported bybeamerto indicate "this footnote should be typeset at the bottom of the frame", see beamer manual, sec. 12.12. Furthermore, although no errors, using\caption{Duck \footnote{Duck Duck}}produces wrong output, in which the width of column is wider than expected. Frombeamerissue #268, Incompatibility of beamer with caption package, it seems the compatibility issue is never solved. – muzimuzhi Z Jul 19 '20 at 06:00captionside, it do fixed compatibility reported issues withbeamer, see here. So if one can reduce the problem to becaption-related, an issue to https://gitlab.com/axelsommerfeldt/caption/-/issues is welcome. @AndréC I checked again, the too-wide column issue is reproducible even withoutcaption. Sorry for my mis-judgement. – muzimuzhi Z Jul 19 '20 at 06:17\setbeamertemplate{caption}{\raggedright\insertcaption\par}as mentioned in this question: https://tex.stackexchange.com/a/82460/220753Thank you for your replies.
– oponkork Jul 19 '20 at 06:38caption. See https://gitlab.com/axelsommerfeldt/caption/-/issues/84. – muzimuzhi Z Jul 19 '20 at 07:09\caption{Dock\footnotemark}and then\footnotetext[1]{Duck Duck}outside ofcolumnsenvironment. – muzimuzhi Z Jul 19 '20 at 07:10