Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.10.1rc1, 3.9.2, 3.9.4, 4.0.0, 4.0.1rc1, 4.0.3, 4.1.0
-
None
Description
Hi,
ini.append:
[ContentSettings] PreViewCache=enabled PreCacheSiteaccessArray[]
If you have this setting, every "publishing" of a content object fails because of a fatal error.
Fatal error: Call to a member function on a non-object in \kernel\classes\ezcontentcachemanager.php on line 769
Reason:
$res is only set in the foreach loop above - and if PreCacheSiteaccessArray is empty, the foreach is never executed.
Best wishes,
Georg.