Since the LaTeX release from 2018/04/01 the \@removefromreset command is part of the LaTeX kernel.
The code by D. Carlisle was in remreset.sty (its author is D. Carlisle) and has been incorporated into the kernel. With any newer LaTeX version since 2018/04/01 there must be a conflict with a copied over code from remreset.sty. remreset is now declared obsolete.
The only way to remove the error is to remove the \newcommand{\@removefromreset}... from the class file.
The loading of remreset is also discouraged: (From remreset.sty):
%... header omitted here % \LoadClass{book} % \@removefromreset{footnote}{chapter} % 2018: package obsoleted as the command is defined in the LaTeX format. \@ifundefined{@removefromreset}{% \def\@removefromreset#1#2{{% \expandafter\let\csname c@#1\endcsname\@removefromreset \def\@elt##1{% \expandafter\ifx\csname c@##1\endcsname\@removefromreset \else \noexpand\@elt{##1}% \fi}% \expandafter\xdef\csname cl@#2\endcsname{% \csname cl@#2\endcsname}}}% }{% \PackageWarningNoLine{remreset} {The remreset package is obsolete:\MessageBreak \noexpand\@removefomresset is defined}% }
\@removefromreset, with an@. Please show us the complete code which produces the error you mention.remreset.stycode over to the class file.