- Issue created by @anup.singh
- 🇮🇳India anup.singh
anup.singh → changed the visibility of the branch 3523881-context-all-and to hidden.
- 🇮🇳India anup.singh
anup.singh → changed the visibility of the branch 3523881-context-all-and to active.
Placed a block which referred to a context I already deleted. This value remained at Context (all). This broke the application and resulted in the following error: Error: Call to a member function getConditions() on null in Drupal\context\Plugin\Condition\ContextAll->getCacheContexts() (line 78 of
Steps to reproduce
Fresh install Drupal with Context module enabled
In block layout edit a block which is currently displayed
At Context (all)/Context (any) fill out a name of a non-existing context
Save the configuration and notice your site is broken
Active
5.0
Code
anup.singh → changed the visibility of the branch 3523881-context-all-and to hidden.
anup.singh → changed the visibility of the branch 3523881-context-all-and to active.