I’m using Layout Builder to manage the display of a content type.
I was playing around with the config and adding different things, and something I added caused the page to crash and now I get this error:
The website encountered an unexpected error. Please try again later.DrupalCoreEntityEntityMalformedException: The "node" entity cannot have a URI as it does not have an ID in DrupalCoreEntityEntityBase->toUrl() (line 191 of core/lib/Drupal/Core/Entity/EntityBase.php). node_tokens('node', Array, Array, Array, Object)
This error persists every time I click “Manage Display” for that content type; I rebuilt the cache with Drush and cleared my browser cache, but I still get the error when I go to edit the display settings. I get the error when I log in with a different browser, too, and also when I revert the config.
I am working on this site locally, so I can pull from the dev server, but is there another way to reset my “unsaved changes” locally so that I don’t have to wait for the pull to complete?