ParseError: syntax error, unexpected ')', expecting variable error on PHP 7.4

Created on 21 October 2024, 6 months ago

Problem/Motivation

Parse error: syntax error, unexpected ')', expecting variable (T_VARIABLE) in C:\wamp64\www\mbzirc\web\modules\contrib\rabbit_hole\src\Plugin\RabbitHoleBehaviorPlugin\PageRedirect.php on line 260

When updating to Rabbit Hole 1.x-dev an error is thrown when trying to run any Drush operation:

Steps to reproduce
Update Rabbit Hole to 1.x-dev with php 7.4.x
Try running ../vendor/bin/drush updb -y from the command line
PHP version: 7.4.x

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇦🇪United Arab Emirates ThirstySix

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024