ArgumentCountError: Too few arguments to function file_validate_extensions(), 1 passed and exactly 2 expected in file_validate_extensions()

Created on 22 April 2024, 8 months ago
Updated 1 May 2024, 8 months ago

Problem/Motivation

I have updated Drupal 10.2.3 & PHP 8.1, I am using the latest "File Management" module.(8.2.1)

Steps to reproduce

Whenever I edit the file using below url /file/FILE_ID/edit
While updating the file, I am getting below error-
ArgumentCountError: Too few arguments to function file_validate_extensions(), 1 passed and exactly 2 expected in file_validate_extensions() (line 157 of core/modules/file/file.module).

Please provide appropriate solution, so that I can work continue.

Thanks!

🐛 Bug report
Status

Closed: outdated

Version

2.1

Component

Code

Created by

🇮🇳India manishdrupaldev

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

Comments & Activities

Production build 0.71.5 2024