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

PHP Parse error in component.php

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not a bug
    • Affects Version/s: 3.5.2
    • Fix Version/s: None
    • Component/s: Unknown
    • Labels:
      None
    • Affected Branches:
      MOODLE_35_STABLE

      Description

      After upgrading my Moodle site to the latest Moodle version (3.5.2+ 20181019), when I run the cron, I see this error:

      PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /var/www/vhosts/mywebsite/lib/classes/component.php on line 1265

      **Because I am not the only person who has the error (see forums), I decided to create a new ticket here.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              maceleiro Marc Celeiro
              Participants:
              Component watchers:
              Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: