I'm writing a paper on overleaf. I got an error message:
(no line number):
[0] Config.pm:343> INFO - This is Biber 2.5
[0] Config.pm:346> INFO - Logfile is 'filename.blg'
[42] biber:290> INFO - === Wed Apr 11, 2018, 13:41:14
[164] Utils.pm:165> ERROR - filename.bcf is malformed, last biblatex run probably failed. Deleted filename.bbl
[164] Biber.pm:113> INFO - ERRORS: 1
Everything worked very well (including references and bibliography) and I suddenly got this error at what seemed like an arbitrary point (just writing standard text, no references or anything). When I delete the text everything works again.
I load the following packages:
\usepackage[british]{babel}
\usepackage{csquotes}
\usepackage[backend=biber,style=apa]{biblatex}
\DeclareLanguageMapping{british}{british-apa}
and I have \printbibliography at the end of my document, but removing it doesn't solve the problem.
The last words in the log file are:
<fig_name.jpg, id=33, 824.07875pt x 631.35875pt>
File: fig_name.jpg Graphic file (type jpg)
<use fig_name.jpg>
Package pdftex.def Info: fig_name.jpg used on input line 299
.
(pdftex.def) Requested size: 426.79134pt x 326.97899pt.
LaTeX Warning: Citation 'meuwese2014subjective' on page 5 undefined on input li
ne 300.
LaTeX Warning: Citation 'meuwese2014subjective' on page 5 undefined on input li
ne 300.
[5 <./SDT.png>]
./filename.tex:302: LaTeX Error: Float(s) lost.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.302 \end{figure}
Here is how much of TeX's memory you used:
24590 strings out of 493013
492167 string characters out of 6135682
964956 words of memory out of 5000000
27686 multiletter control sequences out of 15000+600000
11931 words of font info for 41 fonts, out of 8000000 for 9000
1141 hyphenation exceptions out of 8191
62i,9n,92p,1438b,1663s stack positions out of 5000i,500n,10000p,200000b,80000s
./filename.tex:302: ==> Fatal error occurred, no output PDF fi
le produced!
The reference it complains about does actually exist in the bibtex file:
@article{meuwese2014subjective,
title={The subjective experience of object recognition: comparing metacognition for object detection and object categorization},
author={Meuwese, Julia DI and van Loon, Anouk M and Lamme, Victor AF and Fahrenfort, Johannes J},
journal={Attention, Perception, \& Psychophysics},
volume={76},
number={4},
pages={1057--1068},
year={2014},
publisher={Springer}
}
and was used before in the document without an error coming up.
figureortable:LaTeX Error: Float(s) lost.. If that error interrupts the TeX run you won't get a.bcffile. You need to get to the bottom of the floats lost error and resolve it. – moewe Apr 11 '18 at 14:01