I compile the following simple document with hyperref version* 2024-11-05 v7.01l and the latest cleveref release (2018/03/27 v0.21.4) by running pdflatex f.tex
\documentclass{article}
\usepackage{hyperref}
\usepackage{cleveref}
\begin{document}
\section{test}
\end{document}
I see this error:
! Undefined control sequence.
\__socket_refstepcounter_plug_hyperref/fixcleveref:w ...
{\@currentcounter }}\fi
f.log attached. The same document works with Hyperref 2024-01-20 v7.01h.
f.log
*Sorry for not trying with the latest git commit. I lazily used an older version because the latest hyperref git commit (1b0b2db) doesn't work for me; something about the \IfDocumentMetadataT command not being defined; I guess it needs a newer latex kernel. I see commit af05216 is supposed to fix something about cleveref, but I see version 7.01k when I try that commit, so I assume 7.01l is more recent.