json: cannot unmarshal number into Go struct field

This morning opened up my SiYuan notebook and encountered this error when trying to open one of my to-do database pages:

json: cannot unmarshal number into Go struct field View.views.groupHidden of type bool v3.2.1

When I opened the developer console, it warned me that there was an error. I don't know if the error is related or not. When I clicked on the error, it shows the following:

main.17e5e199e2c68d0329f2.js:3754 Uncaught TypeError: Cannot read properties of null (reading 'classList') at main.17e5e199e2c68d0329f2.js:3754:3493 at Array.find (anonymous) at HTMLDivElement.anonymous (main.17e5e199e2c68d0329f2.js:3754:3130)

The main.[...]3493 and main.[...]3130 have hyperlinks. The first main.[...]3493 hyperlink takes me to this line:

c === "NodeAttributeViewRowMenu" ? u.classList.add("av\_\_row--hl") : d.classList.add("protyle-wysiwyg--hl"),

The second hyperlink, main.[...]3130, highlights the top of an array that appears to contain the first hyperlink's line (I've attempted to format this multiple times and it is not cooperating, apologies - below is the best I can do):

Array.from(t.wysiwyg.element.querySelectorAll([data-node-id="\${r.getAttribute("data-node-id")}"])).find(d => {if (!F(d) && t.gutter.isMatchNode(d)) {const u = d.querySelector(.av\_\_row[data-id="\${r.dataset.rowId}"]);

return

Array.from(t.wysiwyg.element.querySelectorAll(".protyle-wysiwyg—hl, .av\_\_row—hl")).forEach(f => {

d.isSameNode(f) || f.classList.remove("protyle-wysiwyg—hl"),

u && !u.isSameNode(f) && u.classList.remove("av\_\_row—hl")

}

),

c === "NodeAttributeViewRowMenu" ? u.classList.add("av\_\_row—hl") : d.classList.add("protyle-wysiwyg—hl"),

!0

}

}

Not sure if something has become corrupted or if there is an issue, but advice on how to fix would be appreciated. Please let me know what more I can provide.

    Welcome to here!

    Here we can learn from each other how to use SiYuan, give feedback and suggestions, and build SiYuan together.

    Signup About
    Please input reply content ...
    • astonishedquetzal
      VIP Warrior Author

      Disregard - figured it out. I had missed that my phone had updated and caused a database version mismatch. Rolled my PC version back and am updating.