Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Attached is a patch to fix this warning. The file object is never initiated, so this causes warnings.
Comment | File | Size | Author |
---|---|---|---|
#5 | file-object-not-initiated-2199415-5.patch | 527 bytes | kyletaylored |
Comments
Comment #1
Johnny vd Laar CreditAttribution: Johnny vd Laar commentedComment #2
potofski CreditAttribution: potofski commentedpatch works for me. Thanks
Comment #3
Uv516 CreditAttribution: Uv516 commentedThe patch didn't work for me.
Instead of
I use:
and now it works for me.
Comment #4
Dean Clayton CreditAttribution: Dean Clayton commentedoriginal patch didn't work, but the change listed in #3 worked for me
Comment #5
kyletaylored CreditAttribution: kyletaylored at LevelTen Interactive commentedI'm rolling #3 into a patch and fixing the paths (should be relative to the module root)
Comment #6
scotwith1t+1 for the patch in #5. Thanks all!
Comment #7
bruiseviolet CreditAttribution: bruiseviolet commentedPatch in #5 worked for me too! Thank you!
Comment #9
Robert Castelo CreditAttribution: Robert Castelo commentedCommitted to 7.x-2.x-dev branch.
Will roll a new release once I've gone through the other ready for review issues.
Comment #11
Nchase CreditAttribution: Nchase as a volunteer commentedpatch works. latest dev as well. thank you!