Open alliomeria opened 3 years ago
Good. This affects both Inline webform and the normal webform widget. The exact error is happening here (my bad) where I assume that at least the default form will be available.
So check needs to be way before. If nothing is setup (like no settings) and also if the webform no longer exists, better tell the user and Send some Log for the admin and do not try to be a smart-dev.
What?
If no webform is associated for a Form Mode (in settings), show users a notification message instead of an error.