Uploading fails with Drupal 10.2

Created on 11 January 2024, 10 months ago
Updated 5 March 2024, 8 months ago

Problem/Motivation

Currently, when using Drupal 10.2, uploading of files fails with the error

TypeError: array_unshift(): Argument #1 ($array) must be of type array, string given in array_unshift() (line 49 of /var/www/html/web/core/modules/file/src/Validation/FileValidator.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

2.1

Component

Code

Created by

🇧🇪Belgium JeroenT 🇧🇪

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024