Open
Description
Which Umbraco version are you using?
16.0.0 RC
Bug summary
When navigating between content pages, clicking on a page of a different doc type causes console errors and the content not to load. Refreshing the page fixes the issue, until you navigate to another page of a different doc type.
Specifics

Steps to reproduce
Create two doc types, allow one at root and allow the other to be a child of it.
Create a composition and add it to both.
Create the root node
Create the other node below it, then one below that.
Navigating between them should cause the error seen below when you click a page that is a different doc type.
I have not reproduced this on two separate installs on two different machines, one macOS and one Windows.
Expected result / actual result
The pages should load correctly without error.