Problem/Motivation
Saving the settings when no entity has been defined (showing only frontpage) generates an error "Error
The website has encountered an error. Please try again later"
This is due to the subtype field being null for the frontpage.
Proposed resolution
Simply add a 'subtype' => '' to the link save.
Remaining tasks
Upload the patch.