I had the same issue with S3 and the #4 patch fixed it. Thanks.
The patch from https://git.drupalcode.org/project/context_breadcrumb/-/merge_requests/6 worked for me.
I experienced a similar issue when I uploaded a file
TypeError: _file_save_upload_from_form(): Argument #4 ($fileExists) must be of type Drupal\Core\File\FileExists|int, null given, called in /app/docroot/modules/contrib/file_upload_options/file_upload_options.module on line 224 in _file_save_upload_from_form() (line 523 of /app/docroot/core/modules/file/file.module).
Then I applied @cinarb's patch #19 and it fixed it without any side effects.
As @FiNeX is inactive, I will reevaluate the status to Reviewed & tested by the community.
xopoc β created an issue.
drunken monkey β credited xopoc β .
https://git.drupalcode.org/project/drupal/-/merge_requests/5391.diff has also worked well for me.
Upload a patch to pass the tests of the module.
xopoc β made their first commit to this issueβs fork.
xopoc β created an issue.