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.
Not sure if this is the same issue as argument 2 for filefield_view_access() revisited, but I didn't want to clutter up those issues for something that might be unrelated.
I upgraded from filefield 6.x-3.2 to 6.x-3.9 and I am not getting this error when I upload an image using an image/file field:
"warning: Missing argument 2 for filefield_edit_access() in /modules/filefield/filefield.module on line 558."
Hope this helps. Let me know if you need more info.
Comments
Comment #1
davedg629 CreditAttribution: davedg629 commentedSorry, stupid typo I missed:
I upgraded from filefield 6.x-3.2 to 6.x-3.9 and I am NOW getting this error when I upload an image using an image/file field:
"warning: Missing argument 2 for filefield_edit_access() in /modules/filefield/filefield.module on line 558."
Comment #2
wescoughlin CreditAttribution: wescoughlin commentedI got the same error as well, but updated to the newest version of the imagefield and ran the update.php script. Fixed the error.
Comment #3
quicksketchYep, a lot of people were having this issue when 3.9 came out. Just make sure you update FileField and ImageField together.