Error updating document Invalid field 'false' in ItemFields.isBaseField()

I am having troubles with an existing Word document with Zotero citations. When I try to edit a Zotero field, I get "Zotero experienced an error updating your document. Invalid field 'false' in ItemFields.isBaseField()".

How do I resolve this?

Zotero works just fine with another, more recent document.

I am using Zotero Standalone 4.0.27.6 with MS Word 2010 version 14.0.7153.5000 (64-bit) on a Windows 7 OS. I searched on ItemFields.isBaseField() and did not find any existing relevant results that helped me to resolve this issue.
  • try updating to 4.0.28 as a first step, that might fix it.
  • I tried that when prompted by Zotero, but no luck. I also just tried rebooting the laptop, opening the document and Zotero fresh, and also no luck.

    The problem also occurs when I try to create a new citation, or try to refresh the citations.
  • sorry, you tried to update and it didn't work or you updated and it didn't fix the problem?

    If the latter, run through
    https://www.zotero.org/support/word_processor_plugin_troubleshooting#debugging_broken_documents
  • Sorry for the lack of clarity. Zotero updated just fine, but this did not solve the problem. I followed the troubleshooting guide you suggested, but this also did not solve the problem.

    I submitted the error report per the instructions, and the Report ID for this problem is 172513699.

    I couldn't try deleting problem citations, because all of the citations are broken, and I cannot add new citations - it affects the entire document.

    I appreciate your help with trying to resolve this!
  • edited August 3, 2015
    Check your database integrity from the Advanced → Files and Folders pane of the Zotero preferences.

    If that doesn't help, provide a Debug ID (different from a Report ID) for reproducing the error.
  • It said "Passed No errors were found in the database".

    I then Enabled Debug Output Logging, tried to edit a citation, got the error message, and then submitted the debug error report.

    The Debug ID is D138400021.
  • Aurimas:
    Error: Invalid field 'false' in ItemFields.isBaseField()
    ===== Stack Trace =====
    _fieldCheck@chrome://zotero/content/xpcom/data/itemFields.js:384:1
    isBaseField@chrome://zotero/content/xpcom/data/itemFields.js:194:3
    Zotero.Utilities.itemFromCSLJSON@chrome://zotero/content/xpcom/utilities.js:1673:9
    Zotero.Integration.Session.prototype.lookupItems@chrome://zotero/content/xpcom/integration.js:2381:6
    Zotero.Integration.Session.prototype.addCitation@chrome://zotero/content/xpcom/integration.js:2263:2
    Zotero.Integration.Fields.prototype._processFields@chrome://zotero/content/xpcom/integration.js:1481:5
    Zotero.Integration.Fields.prototype.updateSession/<@chrome://zotero/content/xpcom/integration.js:1420:10</blockquote>
  • Can you copy-paste the reference that you think is causing this issue to a new document and verify that it still fails? If it does, could you turn on field codes (by pressing Alt+F9), copy the contents of the field codes that appear, and paste them here?
  • Also, try disabling any extensions that you may have installed. (technical note: it's possible that some extension is extending the Array prototype and we're using for-in to iterate over it, which is something that we should fix anyway).
  • (Not another extension in this case. This is in Standalone.)
  • @aurimas -- skeyel doesn't seem to have a sense of which one is the problem:
    I couldn't try deleting problem citations, because all of the citations are broken, and I cannot add new citations - it affects the entire document.
    @skeyel -- can you insert a citation in a fresh document? If so, it'd be really helpful if you could try to narrow the problematic citation down as described in step 8 of the troubleshooting instructions I linked to above.
  • @Dan
    (Not another extension in this case. This is in Standalone.)
    It could be a Zotero extension (I think Better BibTeX used to do this in an older version), but I guess you should be able to see it in the error report.

    @adamsmith
    @aurimas -- skeyel doesn't seem to have a sense of which one is the problem:
    Copying a citation to another document, or inserting a new one as you suggest, could at least give us one of the broken citations. Though if inserting a random citation breaks this, then it's probably nothing to do with metadata.
  • I can copy and paste a reference out of the corrupted document into a new document, and the reference inserts & updates without error. I tried it first, and then tried it again with the debug logging on, the Debug ID is D2100148857

    The only extension I know I have is the plug-in for word.

    The problem does not seem to be with the citations themselves, but something to do with the document.
  • One of the citations your inserted is for a computer program. There is currently a bug in Zotero that causes this to break. We'll release a fix shortly.
  • Okay, it looks like the problem was one of the references. I tracked the problem down to a single reference (R Core Team 2013), and when I deleted it everything worked fine, and everything still works fine after I reinserted it.

    Thank you for all the help!
Sign In or Register to comment.