- Issue created by @atowl
If a decision block has no block selected, the error is:
'Error: Call to a member function getPluginId() on null in Drupal\smart_content_block\Plugin\Block\DecisionBlock->build() (line 107 of modules/contrib/smart_content/modules/smart_content_block/src/Plugin/Block/DecisionBlock.php).'
Create a smart content block, with no decision block->View page.
Do a null check on the object before attempting to call function.
None
Have attached a patch, might require re-rolling. But it does work for us.
Active
3.0
Code