Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing of multiple image files caught an error "Argument #2 ($field) must be of type string, null given" #5482

Closed
marcfunkDE opened this issue Nov 7, 2022 · 4 comments
Labels
Milestone

Comments

@marcfunkDE
Copy link

marcfunkDE commented Nov 7, 2022

Affected version(s)

5.0.4
PHP 8.1.7

Description

Internal Server Error Was ist das Problem? Contao\DataContainer::isFieldExcluded(): Argument #2 ($field) must be of type string, null given, called in /www/htdocs/xxx/vendor/contao/core-bundle/contao/drivers/DC_Folder.php on line 1730

File structure:
img/kunst/

I selected multiple files for editing and select "name" and "meta" as fields. After click on "Bearbeiten" it shows the error.

@marcfunkDE marcfunkDE changed the title Editing of multiple image files caught a error "Argument #2 ($field) must be of type string, null given" Editing of multiple image files caught an error "Argument #2 ($field) must be of type string, null given" Nov 7, 2022
@m-vo
Copy link
Member

m-vo commented Nov 7, 2022

I can confirm this.

@m-vo m-vo removed the unconfirmed label Nov 7, 2022
@m-vo m-vo added this to the 5.0 milestone Nov 7, 2022
@m-vo
Copy link
Member

m-vo commented Nov 7, 2022

This was introduced with #4709 (DC_Folder L1730).
/cc @aschempp

@ausi
Copy link
Member

ausi commented Nov 7, 2022

Duplicate of #5456 and already fixed by #5463 ?

@leofeyer
Copy link
Member

leofeyer commented Nov 9, 2022

Indeed. 👍

@leofeyer leofeyer closed this as not planned Won't fix, can't repro, duplicate, stale Nov 9, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants