Fehler bei Zitaten in APA7 mit Apacite

Fehler bei Zitaten in APA7 mit Apacite

Wenn ich PDFlatex zum zweiten Mal nach Bibtex ausführe, treten eine Reihe von Fehlern auf. Dies ist der erste Fehler:

! Undefined control sequence.
\hyper@@link ->\let \Hy@reserved@a
\relax \@ifnextchar [{\hyper@link@ }{\hyp...
l.17 \citeA{foo}
blah blah blah blah. Stuff goes here.
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

Ich bin ziemlich sicher, dass dies ausschließlich daran liegt, dass ich meine Datei so aktualisiert habe, dass sie apa7 statt apa6 verwendet, aber wenn möglich würde ich es gerne mit apa7 zum Laufen bringen.

MWE:

\documentclass[stu, apacite]{apa7}

\title{Title}
\shorttitle{Other title}
\author{My name}
\authorsaffiliations{School, College}
\course{Course name}
\professor{Dr. So and So}
\duedate{November 15, 2020}

\begin{document}
\maketitle

\section{A section}
\citeA{foo} blah blah blah blah. Stuff goes here. 

\section{A different section}
More writing and stuff \cite{bar}. 

\bibliography{testb}
\end{document}

Startnummer für MWE:

@book{foo,
  title={A book title},
  author={Doe, John Bob},
  year={2034},
  publisher={A company}
}

@misc{bar,
  title={Here's a website},
  author={Smith, Jane},
  url={https://www.google.ca}
}

verwandte Informationen