apacite を使用した apa7 の引用に関するエラー

apacite を使用した apa7 の引用に関するエラー

bibtex の後に 2 回目に PDFlatex を実行すると、多数のエラーが発生します。これは最初のエラーです:

! 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.

これは、ファイルを更新して apa6 ではなく apa7 を使用するようになったことが原因であると確信していますが、可能であれば apa7 でも動作するようにしたいと思います。

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}

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}
}

関連情報