I am using my variation of the \fullref command from the question \nameref -- How to display section name AND its number, my one is called \typeref:
\documentclass[12pt,a4paper,english]{abntex2}
\usepackage[utf8]{inputenc}
\usepackage{csquotes}
\usepackage[nameinlink]{cleveref}
\newcommand*{\typeref}[1]{\hyperref[{#1}]{\Cref{#1}}} % One single link
\newcommand*{\fullref}[1]{\hyperref[{#1}]{\Cref{#1}: \nameref{#1}}} % One single link
\begin{document}
\typeref{firstlabel}.
\typeref{secondlabel}.
\typeref{firstlabel,secondlabel}.
\cleardoublepage
\begin{figure}[h]
\caption{Caption 1}
\label{firstlabel}
Figure 1
\end{figure}
\cleardoublepage
\begin{figure}[h]
\caption{Caption 2}
\label{secondlabel}
Figure 2
\end{figure}
\end{document}
Which correctly generated the PDF file:
But when compiling this, hyperref keeps popping the warning every time I compile/recompile the PDF:
Redoing nameref's sectioning
Redoing nameref's label
LaTeX Warning: Hyper reference `firstlabel,secondlabel' on page 1 undefined on
input line 15.
[1{D:/User/Documents/latex/texmfs/data/pdftex/config/pdftex.map}] [2] [3]
[4] [5] (test3.aux)
LaTeX Warning: There were undefined references.
How can I make hyperref stop thinking there are undefined references?

\hyperrefcommand? cleveref is hyperref aware,\newcommand*{\typeref}[1]{\Cref{#1}}works on its own. – Ulrike Fischer Nov 10 '19 at 18:48Figureand the number1, not only the number1and on the original question, they said this: The\fullrefdefined above produces two links, one by\autoref, the other by\nameref. Heiko Oberdiek suggests the following definition that combines the two into one single link:\newcommand*{\fullref}[1]{\hyperref[{#1}]{\autoref*{#1} \nameref*{#1}}}; – user Nov 10 '19 at 19:01\fullrefis broken as it uses\nameref, and\namerefonly accepts a single argument. But I opened this other question to fix it and use a custom\namerefwhich support several labels: Undefined control sequence while adding a new parameter to a existing \ExplSyntaxOn code – user Nov 10 '19 at 20:57