Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
D
Drupal
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 54
    • Issues 54
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards
  • Development
  • Drupal
  • Issues
  • #79

Closed
Open
Opened Aug 09, 2019 by JGaunt@JGaunt

Error when upgrading to 5.16.0

Not sure if this is the right place to add the issue so apologies in advance.

I've attempted to upgrade three separate sites on three separate servers from 5.14 and 5.15 to 5.16.0 and all three came back with the following error: Error: syntax error, unexpected ':', expecting '{' in /home/example/public_html/sites/all/modules/civicrm/vendor/league/csv/src/functions.php, line 33

The three sites are all on Drupal 7 on PHP 7.1 although I did upgrade one temporarily to 7.2 and also 7.3 to see if that made a difference which it didn't.

I'm used to upgrading civi on many different sites all the time so I don't believe it to be a fault of my own.

I tried to upgrade the usual way:

  • Delete old codebase
  • Unpack new code base
  • Run 'drush civicrm-upgrade-db'

It is when I enter the drush command the error flags up and the update fails. I've used the same method countless times in the past so I do think there is an issue somewhere.

Thanks, Jade

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
5.16.3
Milestone
5.16.3
Assign milestone
Time tracking
None
Due date
None
Reference: dev/drupal#79