- 🇮🇳India ajmaltash
You try to remember what block was you were working or removed by other way or imported, then you can use this code
in any preprocess hook.\Drupal::configFactory()->getEditable('block.block.YOURPLUGINBLOCKID')->delete();
You get this error:
Drupal\Component\Plugin\Exception\PluginException: The block '' did not specify a plugin. in Drupal\block\BlockPluginCollection->initializePlugin() (line 53 of core/modules/block/src/BlockPluginCollection.php).
Note: a field entity reference with a type of item to reference "View" works correctly.
In earlier versions of the Drupal (8.0.x) this problem did not exist according to my experience.
Closed: works as designed
8.1 ⚰️
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
You try to remember what block was you were working or removed by other way or imported, then you can use this code
in any preprocess hook.
\Drupal::configFactory()->getEditable('block.block.YOURPLUGINBLOCKID')->delete();