Issue Bug New

#111397ObjectAccess::isPropertyGettable(): Argument #1 ($object) must be of type object|array, null given

Andreas Pfeiffer 11/10/26, 16:07 updated 11/10/26, 16:07

Description

Hey,

i use the new file upload attribute within a model. The form, where it is integrated has some obligatory fields and the upload self. If one of the obligatory fields is not filled out, i get this error because the value of the argument is null but the function “isPropertyGettable” expects an array or object.

May to cath the null earlier in “FileHandlingService”?

Thank you

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Fix this issue

Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch

Commit message
[BUGFIX] ObjectAccess::isPropertyGettable(): Argument #1 ($object) must be of type object|array, null given Resolves: #111397 Releases: main

Files 2