ParseError: syntax error, unexpected ')',

Created on 29 May 2024, 26 days ago
Updated 31 May 2024, 24 days ago

Problem/Motivation

ParseError: syntax error, unexpected ')', expecting variable (T_VARIABLE) in Composer\Autoload\{closure}() (line 105 of /code/web/modules/contrib/better_exposed_filters/src/Plugin/views/exposed_form/BetterExposedFilters.php)

Steps to reproduce

Getting this error while searching with some keyword in the filter.

Proposed resolution

Removed the unexpected semicolon

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: outdated

Version

6.0

Component

Code

Created by

🇮🇳India Nikhilesh Gupta Hyderabad

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

Comments & Activities

  • Issue created by @Nikhilesh Gupta
  • Status changed to Needs work 26 days ago
  • 🇺🇸United States smustgrave

    If you turn to MR pretty sure that's a PHPCS issue.

  • 🇬🇧United Kingdom MrDaleSmith

    This is caused by the module having been updated to be PHP 8 only - the syntax for commas in parameter lists is incompatible with PHP 7.

  • Status changed to Closed: outdated 24 days ago
  • 🇺🇸United States smustgrave

    Would recommend using the patch until able to update to php8.1

    With 7.0.x the new development branch which is just D10 + D11 reluctant to go back and update for php7.4 since D9 is EOL.

Production build 0.69.0 2024