Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-10944

preview cache - fatal error

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.0.4, 4.1.1, 4.2.0alpha1
    • 3.10.0, 3.10.1rc1, 3.9.2, 3.9.4, 4.0.0, 4.0.1rc1, 4.0.3, 4.1.0
    • Caching
    • 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.

      Attachments

        Activity

          People

            andre1 andre1
            emil.webber emil.webber
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: