Open FeralFlora opened 1 year ago
I faced the same issue. After analyzing the code, I found that there were instances where fileCache
was empty ({}
), which led to the 'Cannot read properties of null' error. The root cause of this error was the absence of a valid fileCache
. To resolve this, you need to ensure that fileCache
exists.
In the file .obsidian/plugins/auto-nove-mover/main.js
at line 2078,
below the line:
const fileCache = this.app.metadataCache.getFileCache(file);
add the following code:
if (!fileCache || Object.keys(fileCache).length === 0) {
return;
}
This will check if the fileCache
object is empty and resolve the issue.
The Readwise Official plugin stopped working and I was getting multiple errors in the console. One of the mentioned both Auto Note Mover and Readwise Official:
Because of this, I tried disabling Auto Note Mover, and now Readwise Official suddenly works again.
This error points to line 1806 in Auto Note Mover. The function on that line is:
Line 1802 in Readwise official is also mentioned, and that spans this snippet: