I'm trying to change the standard footer of the scrlttr2 class from {page no.} to Page {page no.} of {total}. While searching for a way to do this, I found out that the current accepted method for KOMA classes is to use the scrlayer-scrpage package. However, loading that package raises the following error:
! Missing = inserted for \ifnum.
<to be read again>
\z@
l.7 \end{letter}
Here is the really minimal (non-)working example used to create this error:
\documentclass{scrlttr2}
\usepackage{scrlayer-scrpage}
\begin{document}
\begin{letter}{}
This is a MWE.
\end{letter}
\end{document}
Any suggestions? Are scrlttr2 and scrlayer-scrpage incompatible or could something be wrong with my package (versions)?