[Tex/LaTex] Beamer – undefined control sequence

beamer

I have been using beamer for some time now with TexnicCenter. Recently I updated operating system to Windows 7, TexnicCenter and also MikTeX (I try to run the code with both MikTex 2.8 and MikTeX 2.9).
Every presentation (even the old ones, which were working perfectly before updates) gives me an error warning and the created pdf file has extra slides with just numbers in the top left corner.

The basic TeX file:

%%%%%%%%%%%%%%%%%%
\documentclass{beamer}
\usetheme{Warsaw}
%\mode<presentation>
\begin{document}
\begin{frame}{A frame}
abc
\end{frame}
\end{document} 
%%%%%%%%%%%%%%%%%%

And the error message:

Undefined control sequence:
\beamer@frameslide ...duration=}\thispdfpagelabel
{\insertframenumber}\xda.....

Any ideas what is wrong?

The log file can be found here. The code written above produce just on error message.

Best Answer

You are not using the newest beamer version. The newest in miktex is beamer 2010/06/21 development version 3.10. Your version is beamer 2007/03/11 cvs version 3.07. As you have beamer in one of your user roots, you will probably have to run the update manager in user mode to get the newest version, or manually download the newest version.

The error message itself is a bug in beamer. I have seen a posting about it 2 or 3 ago. \thispdfpagelabel is defined by hyperref only if pagelabels=true, but beamer used it also in dvi-mode. The problem has been obviously corrected. I don't get an error.

If you don't want to update you can try

\providecommand\thispdfpagelabel[1]{}