Hi! Thanks for your reply.
Disabled xpgo’s plugin, restarted obsidian and tried renaming a note that has same name as fodder and it says same error “Cannot read property ‘path’ of null” - but renames it fine. The error also comes up when I change the note name back to the same as the folder. However, this doesn’t happen with notes with a different name to the folder, nor to notes in folders that have no child folders.
I’m using obsidian v0.11.0.