At first I thought I had accidentally broken something, but this is repeatable.
Here's the basic version of my paper:
\documentclass[12pt]{article}
\usepackage[natbibapa]{apacite}
\usepackage{fullpage}
\begin{document}
%content
\citep{Sibert2018}
%content
\bibliographystyle{apacite}
\bibliography{RQEReadings}
\end{document}
And if I leave this alone overnight, it will be broken in the morning, and I'll get an error message: "Citation %s undefined on page %i on input line %i."
If I clear the cache files, same error. If I delete and re-upload my bib file, same error.
HOWEVER, if I delete all my content and citations, compile and get an "empty thebibliography" error, the next time I compile, all my citations will behave.
My current workaround is to delete all the lines about color and recompile. This works.
Why??? How can I avoid having to perform such a silly workaround?
.bibfile that consistently reproduces the issue? (Please see https://tex.meta.stackexchange.com/q/228/35864 and https://tex.meta.stackexchange.com/q/4407/35864). Can you show us the complete.logand.blgfile of the failing runs? (On Overleaf v2 you can get them the same way you obtain the.bblfile: https://tex.stackexchange.com/q/462314/35864, for v1 see https://tex.stackexchange.com/q/388656/35864) – moewe Nov 30 '18 at 14:29.logfile looks unsuspicious enough. It looks exactly like I would expect if BibTeX could or did not run. In particular there is no error or warning unrelated to undefined citations. If there is no.blgfile that is very suspicious: BibTeX should be run on this document and there should be at least something in the.blgfile even if things went wrong quickly. I'm afraid there is not a lot we can do without a.blgfile or a code example that consistently reproduces the issue. ... – moewe Dec 02 '18 at 07:16.bibfile, so obviously there are no citation and bibliography for me). – moewe Dec 04 '18 at 07:18