KeyError <class 'grokcore.component.interfaces.IContext'>

After updating some packages I have no dependency to five.grok anymore and because of this it is not installed anymore. Now I see a lot of

KeyError <class 'grokcore.component.interfaces.IContext'>

I have already updated z3c.relationfield from 0.7 to 0.9 but there are still KeyErrors , e.g.

1588763667.70.0382233737484 https://cms.xyz.de/de/a/b/c/@@edit
Traceback (innermost last):
  Module ZPublisher.Publish, line 138, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 48, in call_object
  Module plone.z3cform.layout, line 63, in __call__
  Module plone.z3cform.layout, line 47, in update
  Module plone.dexterity.browser.edit, line 58, in update
  Module plone.z3cform.fieldsets.extensible, line 65, in update
  Module plone.z3cform.patch, line 30, in GroupForm_update
  Module z3c.form.group, line 145, in update
  Module plone.app.z3cform.csrf, line 22, in execute
  Module z3c.form.action, line 98, in execute
  Module z3c.form.button, line 315, in __call__
  Module z3c.form.button, line 170, in __call__
  Module plone.dexterity.browser.edit, line 30, in handleApply
  Module z3c.form.group, line 126, in applyChanges
  Module zope.event, line 31, in notify
  Module zope.component.event, line 27, in dispatch
  Module zope.component._api, line 139, in subscribers
  Module zope.interface.registry, line 442, in subscribers
  Module zope.interface.adapter, line 607, in subscribers
  Module zope.component.event, line 36, in objectEventNotify
  Module zope.component._api, line 139, in subscribers
  Module zope.interface.registry, line 442, in subscribers
  Module zope.interface.adapter, line 607, in subscribers
  Module plone.app.linkintegrity.handlers, line 110, in modifiedContent
  Module plone.app.linkintegrity.handlers, line 134, in updateReferences
  Module zc.relation.catalog, line 546, in unindex
  Module zc.relation.catalog, line 556, in unindex_doc
  Module zc.relation.catalog, line 621, in _remove
KeyError: <class 'grokcore.component.interfaces.IContext'>

What do you suggest? Should I install five.grok explicitly? Until now I have no reported errors from my users that can be linked to that error and I could not reproduce it.

I have
Plone 5.1.5 (5115)
CMF 2.2.12
Zope 2.13.27
Python 2.7.13 (default, Sep 26 2018, 18:42:22) [GCC 6.3.0 20170516]
PIL 5.2.0 (Pillow)

Maybe this will help Grok pickling error Plone 5.1

I have the same Errors after remove plone.directives

Until now I have no reported errors from my users that can be linked to that error and I could not reproduce it.

For the sake of completeness: I have reports from users that they get an error while saving a document or updating sharing and at the same time I see KeyError: <class 'grokcore.component.interfaces.IContext'>
in log files. A second try to save the document is successful.

A complete catalog rebuild or removing 'grokcore.component.interfaces.IContext' from 'object_provides' helped me.

Plone Foundation Code of Conduct