I tried to change my ieee-bibtex to apa-bibtex and errors appeared. The error seems to refer to the apasortcite in the apa.bbx. This is the first error that seems to be the guilty:
! Undefined control sequence.
<argument> \visibility
{cite} \keypart { \namepart [use=true]{prefix} \name...
l.262 }
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'), typeI' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.
Here I present my preamble and document (reduced):
\documentclass[12pt]{report} %fuente a 12pt
\usepackage[
a4paper,
vmargin=2.5cm,
hmargin=3cm
]{geometry}
\usepackage[spanish, es-tabla]{babel}
\usepackage[babel, spanish=spanish]{csquotes}
\AtBeginEnvironment{quote}{\small}
\usepackage[style=apa, backend=biber, natbib=true, hyperref=true, uniquelist=false, sortcites]{biblatex}
\DeclareLanguageMapping{spanish}{spanish-apa}
\DefineBibliographyStrings{spanish}{%
andothers = {et\addabbrvspace al\adddot}
}
\DefineBibliographyStrings{spanish}{
url = {\adddot\space[En línea]\adddot\space Disponible en:}
}
\DefineBibliographyStrings{spanish}{
urlseen = {Acceso:}
}
\DefineBibliographyStrings{spanish}{
pages = {pp\adddot},
page = {p.\adddot}
}
\addbibresource{bibliografia/bibliografia.bib}
\begin{document}
Hello, this is an example \parencite{bib-ex}.
\addcontentsline{toc}{chapter}{Bibliografía}
\printbibliography
\end{document}
In the other hand, the .bib file looks like this:
@Book{pmr,
author = {Francisco García Aznárez and Guillermo López Morante},
date = {1997},
title = {Situación y perspectivas del transporte público de las personas con movilidad reducida en España},
location = {Madrid},
publisher = {Escuela Libre},
}
An the resulting document is this:
cite
sortingnamekeytemplatename=apasortcite
Hello, this is an example [sortingnamekeytemplatename=apasortcite](Aznárez & Morante, 1997).
BIBLIOGRAFÍA
Aznárez, F. G., & Morante, G. L. (1997). Situación y perspectivas del transporte público de las personas con movilidad reducida en España. Escuela Libre.
I have look for solutions but i got anything. Thank for your helps.

doxygenpackage (which I don't have). In order for us to help you, you will need to (i) trim the sample by removing all packages and code except forbabel,csquotes, and thebiblatexcode. (ii) Show us a.bibfile item that causes the error. Without a reproducible error, it will be hard to test. Did you make sure you removed all the auxiliary files after you switched tobiblatex-apa? – Alan Munn Sep 12 '22 at 21:30