Hi, after a default installation of Plone 5.1 you have two "multi lingual" settings in the AddOns section. If you enable the Multilingual Support (Archetypes) AddOn, you render the Plone site unuseable. Because it looks like that each page (or cached URL in the browser, e.g. http://127.0.0.1:8080/Plone/@@language-controlpanel) causes this error
2019-02-08 15:47:21 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/OFS/SimpleItem.py", line 242, in raise_standardErrorMessage
v = s(**kwargs)
File "/mnt/data/cur/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/FSPythonScript.py", line 127, in call
return Script.call(self, *args, **kw)
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in call
return self._bindAndExec(args, kw, None)
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/mnt/data/cur/buildout-cache/eggs/Products.PythonScripts-2.13.2-py2.7.egg/Products/PythonScripts/PythonScript.py", line 344, in _exec
result = f(*args, **kw)
File "Script (Python)", line 44, in standard_error_message
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in call
return self._bindAndExec(args, kw, None)
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/mnt/data/cur/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 237, in _exec
result = self.pt_render(extra_context=bound_names)
File "/mnt/data/cur/buildout-cache/eggs/Products.CMFCore-2.2.12-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 177, in pt_render
self, source, extra_context
File "/mnt/data/cur/buildout-cache/eggs/Zope2-2.13.27-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 87, in pt_render
showtal=showtal)
File "/mnt/data/cur/buildout-cache/eggs/zope.pagetemplate-4.2.1-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 137, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/mnt/data/cur/buildout-cache/eggs/five.pt-2.2.5-py2.7.egg/five/pt/engine.py", line 98, in call
return self.template.render(**kwargs)
File "/mnt/data/cur/buildout-cache/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
return base_renderer(**context)
File "/mnt/data/cur/buildout-cache/eggs/Chameleon-2.25-py2.7.egg/chameleon/zpt/template.py", line 261, in render
return super(PageTemplate, self).render(**vars)
File "/mnt/data/cur/buildout-cache/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py", line 191, in render
raise_with_traceback(exc, tb)
File "/mnt/data/cur/buildout-cache/eggs/Chameleon-2.25-py2.7.egg/chameleon/template.py", line 171, in render
self._render(stream, econtext, rcontext)
File "9ec4eb833a24a6aa8e7afd06c9d50702.py", line 1492, in render
File "7aecce8d151bcb885e11d847b24a6868.py", line 1192, in render_master
File "/mnt/data/cur/buildout-cache/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/expressions.py", line 71, in render_content_provider
cp.update()
File "/mnt/data/cur/buildout-cache/eggs/zope.viewlet-3.7.2-py2.7.egg/zope/viewlet/manager.py", line 112, in update
self._updateViewlets()
File "/mnt/data/cur/buildout-cache/eggs/zope.viewlet-3.7.2-py2.7.egg/zope/viewlet/manager.py", line 118, in _updateViewlets
viewlet.update()
File "/mnt/data/cur/buildout-cache/eggs/archetypes.multilingual-3.0.6-py2.7.egg/archetypes/multilingual/browser/viewlets.py", line 27, in update
if self.context.portal_factory.isTemporary(self.context):
AttributeError: 'RequestContainer' object has no attribute 'portal_factory'
- Expression: "provider:plone.abovecontent"
- Filename: ... egg/Products/CMFPlone/browser/templates/main_template.pt
- Location: (line 67: col 59)
- Source: ...
^
- Arguments: repeat: {...} (0)
template: <ImplicitAcquisitionWrapper default_error_message at 0x7f3301de8730>
modules: <instance - at 0x7f330a393638>
here: <ImplicitAcquisitionWrapper portal_quickinstaller at 0x7f3301e3b1e0>
user: <ImplicitAcquisitionWrapper - at 0x7f3301fd2af0>
nothing: <NoneType - at 0x55eaf26af4d0>
container: <ImplicitAcquisitionWrapper drawio at 0x7f3302838e60>
default: <object - at 0x7f3312adf540>
request: <instance - at 0x7f330072dfc8>
wrapped_repeat: <SafeMapping - at 0x7f33002d2788>
traverse_subpath: <list - at 0x7f33000b2dd0>
loop: {...} (0)
context: <ImplicitAcquisitionWrapper portal_quickinstaller at 0x7f3301e3b1e0>
translate: <function translate at 0x7f32ffffae60>
root: <ImplicitAcquisitionWrapper Zope at 0x7f330287f820>
options: {...} (9)
target_language: <NoneType - at 0x55eaf26af4d0>