LaTeX Error: Something's wrong--perhaps a missing \item
A list has text before its first \item, or no items at all; an empty thebibliography is a common case. Start every list with \item.
Help centre › LaTeX errors › Document structure · Error: the build stops or the output is wrong
What the log says
! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.6 \item O
neWhat it means
Inside itemize, enumerate, description and the other list environments (thebibliography among them), everything must come after an \item. LaTeX found text before the first \item, or reached the end of a list that had none. The error is reported where LaTeX noticed, often at the first \item or at \end of the list.
Causes and fixes
Most common first. Each example is a complete document; the first fails with this message, the second is the same document fixed.
1. Text before the first \item
An introductory sentence typed inside the list, after \begin{itemize}. Move it above \begin{itemize}, or make it the first \item.
\documentclass{article}
\begin{document}
\begin{itemize}
The main findings are:
\item One
\item Two
\end{itemize}
\end{document}\documentclass{article}
\begin{document}
The main findings are:
\begin{itemize}
\item One
\item Two
\end{itemize}
\end{document}2. A list environment with no items
An itemize or enumerate left empty while drafting, or whose items are all commented out. Remove the empty list or add an \item.
\documentclass{article}
\begin{document}
Limitations:
\begin{itemize}
% \item To be written
\end{itemize}
\end{document}\documentclass{article}
\begin{document}
Limitations:
\begin{itemize}
\item The sample is small.
\end{itemize}
\end{document}3. An empty bibliography on an older installation
When BibTeX or Biber finds no cited entries (no \cite, keys that do not match the .bib file, or a failed bibliography run), the .bbl holds a thebibliography environment with no \bibitem. Older LaTeX stops with this error there; current LaTeX only warns about an empty thebibliography. Fix the citations or the bibliography run; a stale .bbl can also be deleted so it is rebuilt.
4. A misspelled \item
\itme or \Item is not an \item, so the text after it is text before the first item. That gives "Undefined control sequence" first; correct the spelling and this error goes too.
In Manulyx
The editor shows the error beside the line where LaTeX noticed it, with an explanation.
Write in Manulyx for free · Journal templates
More in document structure
- LaTeX Error: Missing \begin{document}Something that prints text sits above \begin{document}, or that line is missing. Only settings belong in the preamble; find the stray text and move it.
- LaTeX Error: Can be used only in preambleA preamble-only command such as \usepackage or \documentclass appears after \begin{document}. Move it above \begin{document}.
- LaTeX Error: \include cannot be nestedA file loaded with \include contains another \include. Only the main file may \include; inside an included file use \input instead.
- Package hyperref Warning: Token not allowed in a PDF string (<encoding>):A heading contains math or a command that cannot go into a PDF bookmark. The page is fine; give the bookmark plain text with \texorpdfstring.
Every example on this page was compiled with pdfLaTeX to check that it fails and is fixed as described. All LaTeX errors