- πΊπΈUnited States smustgrave
Can you confirm the bug still exists in 4.0.x? Not able to reproduce
Hi,
Installed:
composer require "drupal/quicktabs:4.0.x-dev@dev"I created a Quicktabs block, tab type:block, tab content: Body.
Placed it in "Content" region, tried to load the front page and got "Drupal\Component\Plugin\Exception\ContextException: The 'entity:node' context is required and not present. in Drupal\Core\Plugin\Context\Context->getContextValue() (line 73 of core\lib\Drupal\Core\Plugin\Context\Context.php). "screenshot attached
- πΊπΈUnited States smustgrave
Actually can you check your steps or if you have other modules causing this?
Your comment says you did type block, content: body. Do you have a custom body block?
In the screenshot I see that ctools_block is present.
- πΊπΈUnited States smustgrave
ctools block seems to have a line
$entity = $this->getContextValue('entity');
That may be it.
- Merge request !28Resolve #3322771 "Quicktabs drupalcomponentpluginexceptioncontextexception the" β (Open) created by smustgrave
- πΊπΈUnited States smustgrave
So think best we can do is catch these fatal errors but maybe we need a new ticket to make sure these kind of blocks don't appear as options.