Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-24276

"static abstract" is not compatible with PHP 5.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      It took me a little while to find this but during installation, I was getting:

      Error output, so disabling automatic redirect.

      There were no details provided, so I traced back to redirect and did a var_dump of $lasterror

      It appears that this may be related to:

      http://php.net/manual/en/migration52.incompatible.php - Dropped abstract static class functions. Due to an oversight, PHP 5.0.x and 5.1.x allowed abstract static functions in classes. As of PHP 5.2.x, only interfaces can have them.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            aborrow Anthony Borrow
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10