Error is:
Argument of \@secondoftwo has an extra }.
<inserted text>
\par
l.4 ...{$g(x)$} of the form \texorpdfstring{$ax$}}
MWE to get the error is:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\subsubsection{With \texorpdfstring{$g(x)$} of the form \texorpdfstring{$ax$}}
\end{document}
Note:
I "solved" the error by placing a dot immediately after the \texorpdfstring
command (why does it work?, I have no idea, I just was lucky), it's like if \texorpdfstring
is waiting for an argument to end.
Solved error:
\documentclass{article}
\usepackage{hyperref}
\begin{document}
\subsubsection{With \texorpdfstring{$g(x)$} of the form \texorpdfstring{$ax$}.}
\end{document}