I have updated one of my D8 sites to the latest stable version - 8.3.1 using "drush up". When applying the database update the update fails with the following error message:
Failed: LogicException: Missing bundle entity, entity type block_content_type, entity id basic. in Drupal\Core\Entity\EntityType->getBundleConfigDependency() (line 882 of /var/www/sitename/core/lib/Drupal/Core/Entity/EntityType.php).
This has only happened on 1 site, so it's possibly a config issue specific to the site.
How do I manually create the missing bundle entity?