[Tex/LaTex] Biber/Biblatex problem (Use of uninitialized value)

biberbiblatex

So I had a paper ready for a presentation tomorrow, and I decided to add a new reference. Bad idea, this happened when I compiled:

Use of uninitialized value $name in string eq at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber/SortLists.pm line 77.

Use of uninitialized value $pre in regexp compilation at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber/Internals.pm line 959.

Use of uninitialized value $thislocale in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 2767.

Use of uninitialized value $thislocale in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 2854.

Use of uninitialized value $thislocale in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 2859.

Use of uninitialized value $lname in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 1929.

Use of uninitialized value $lssn in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 1929. Use of uninitialized value $lssn in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 1943. Use of uninitialized value $lssn in concatenation (.) or string at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber.pm line 1958.

Can't use an undefined value as an ARRAY reference at C:\Users\kevinalh\AppData\Local\Temp\par-6b6576696e616c68\cache-48b1414b522013718507ac7cc0b21aa1f37b24ea\inc\lib/Biber/Internals.pm line 949.

INFO - This is Biber 2.1
INFO - Logfile is 'document.blg'
INFO - Reading 'document.bcf'
WARN - Warning: Found biblatex control file version 2.6, expected version 2.7
INFO - Found 1 citekeys in bib section 0
INFO - Processing section 0
INFO - Looking for bibtex format file 'document.bib' for section 0
INFO - Decoding LaTeX character macros into UTF-8
INFO - Found BibTeX data source 'document.bib'
INFO - Overriding locale '' defaults 'variable = shifted' with 'variable = non-ignorable'
INFO - Overriding locale '' defaults 'normalization = NFD' with 'normalization = prenormalized'
INFO - Sorting list 'nty' of type 'entry' with scheme 'nty' and locale ''
INFO - No sort tailoring available for locale ''

Things to consider:

  • I've upgraded all the packages using MikTeX some days ago but didn't update the bibliography until today.
  • MikTeX online repositories are not working these days apparently
  • Using \listfiles, I get:

    biblatex.sty 2014/06/25 v2.9a programmable bibliographies (PK/JW/AB)
    biblatex2.sty 2014/06/25 v2.9a programmable bibliographies (biber) (PK/JW/AB
    )

  • Considering the repositories aren't working, I got the biblatex-3.0.tds.tgz file and uncompressed it in the MikTeX folder, before refreshing FNDB via the MikTeX Options.

I've already tried deleting the par- cache folder and the .aux, .bbl and .bcf files, and running a minimal working example:

\documentclass{article}

\usepackage[backend=biber]{biblatex}

\addbibresource{document.bib}

\begin{document}
    Lorem ipsum dolor sit amet
    \cite{A01}
    \printbibliography 
\end{document}

With document.bib being:

@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}

With no success.

Any help is really appreciated.

Best Answer

Your biblatex is too old. Probably you would need to run the user update manager to update it. As the miktex repositories are not online: either downgrade biber to version 1.9: https://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/.

Or update biblatex: Get from a CTAN mirror the biblatex miktex packages:

http://mirrors.ctan.org/systems/win32/miktex/tm/packages

Download also from the same mirror the two package databases:

http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma http://mirrors.ctan.org/systems/win32/miktex/tm/packages/miktex-zzdb2-2.9.tar.lzma

Put everything in some empty folder (outside miktex), and then choose this folder as local repository in the package manager or update manager.

Related Question