Problem/Motivation

I get this error after upgrading from 4.3.3-rc1 to 4.4.8 when I run a drush command:
PHP Parse error: syntax error, unexpected ')' in /var/www/rory.action.bigmallet.co.uk/web/modules/contrib/civicccookiecontrol/src/Form/AltLanguageForm.php on line 64

Steps to reproduce

Upgrade to 4.4.8 and run any drush command (I tried drush cr and drush updb)

Proposed resolution

I have supplied a patch removing the extraneous comma in a list of method call parameters in create method of AltLanguageForm class

Remaining tasks

Review patch

User interface changes

None

API changes

None

Data model changes

None

Comments

Rory Downes created an issue. See original summary.

tper’s picture

Thanks for this @Rory. Can you please provide some info on the environment (i.e. core version, php version, drush version etc) you detected the issue? I would like to reproduce this before pushing the patch, with no success yet.

rory downes’s picture

Sure @tper.
Drupal 8.9.16
PHP 7.2.34-9+ubuntu20.04.1+deb.sury.org+1
Drush 10.2.2
Op Sys: Ubuntu 20.04.1 LTS

Let me know if you need any more information
Regards Rory

  • tper committed 01dfb46 on 4.4.x
    tper: provide fixes for issues #3218216 and #3219847
    
tper’s picture

Version: 4.4.8 » 4.4.9
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.