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

Undefined variable: this in /srv/www/ezprojects/lib/ezutils/classes/ezsys.php on line 605

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 3.10.0alpha1, 3.8.8, 3.9.2
    • 3.8.7, 3.9.0, 3.9.1
    • Misc
    • None

    Description

      When [SiteAccessSettings]RemoveSiteAccessIfDefaultAccess is set to "enabled" in site.ini, you'll get PHP warnings like:

      Undefined variable:  this in /srv/www/ezprojects/lib/ezutils/classes/ezsys.php on line 605
      Undefined property:  AccessPath in lib/ezutils/classes/ezsys.php on line 605
      

      Solution: replace $this with $instance on the line mentioned.

      Attachments

        Activity

          People

            cyberwolf cyberwolf
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: