I am using Bibtex for references. Although I used the command \nocite before \printbibliography I still receive the error 'undefined control sequence'.
I do not face same problem for command \ref or other commands for bibliography; this problem happens only for \nocite.
\usepackage[style=alphabetic]{biblatex}
\bibliography{bib}
\begin{document}
\nocite{Arnold89}
\printbibliography
\end{document}
where in bibtex file we have
@book {Arnold89,
AUTHOR = {Arnol\cprime d, V. I.},
TITLE = {Mathematical methods of classical mechanics},
SERIES = {Graduate Texts in Mathematics},
VOLUME = {60},
EDITION = {Second},
NOTE = {Translated from the Russian by K. Vogtmann and A. Weinstein},
PUBLISHER = {Springer-Verlag, New York},
YEAR = {1989},
PAGES = {xvi+508},
ISBN = {0-387-96890-3},
MRCLASS = {58Fxx (70-02 70H05)},
MRNUMBER = {997295},
DOI = {10.1007/978-1-4757-2063-1},
URL = {https://doi.org/10.1007/978-1-4757-2063-1},
}
and the exact error that I receive is "The compiler is having trouble understanding a command you have used. Check that the command is spelled correctly. If the command is part of a package, make sure you have included the package in your preamble using \usepackage{...}."

expects an actual argument, so perhaps you mean\nocite{*}`. – barbara beeton Sep 30 '19 at 15:40\nocite{document}. It really does not matter; the problem remains for both\nocite{document}and\nocite{*}. – YMA Sep 30 '19 at 16:17.logfile and do not rely on the possibly abridged version of the message shown by your editor. The message should indicate which command sequence is undefined - which would be a hige help in figuring out what is wrong here. As others have said, both\cite{}and\nocite{}will quite probably fail since they expect an existing cite key (which can not be empty with Biber) or\nocite{*}. – moewe Oct 02 '19 at 15:01\bibliography{bib.bib}is superfluous if you already have a corresponding\addbibresourceline. In any case the command\bibliographyexpects the file name without extension, but\addbibresourceexpects the file name with extension. Finally, please consider showing us enough code to actually reproduce your error (we need the relevant.bibentries as well as a document starting with\documentclassand containing\begin{document}...\end{document}). See https://tex.meta.stackexchange.com/q/228/35864 and https://tex.meta.stackexchange.com/q/4407/35864. – moewe Oct 02 '19 at 15:03\cprimeis a good guess for the undefined command. – moewe Oct 09 '19 at 06:09