Fixed various warning triggered on Zope startup

* Bug fix: fixed various warning triggered on Zope startup
  [ghicaale refs #19289]