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.
I get this error when the module is installed on line 46. Basically, you don't need the & there because $node is already a reference and content_update() takes a reference all the time.
Comments
Comment #1
Deciphered CreditAttribution: Deciphered commented@Island Usurper,
While I haven't personally received that error, you are correct that the &$node can simply be $node. It was done that way as previously I had expected FileField Paths to be saving the changes. However, it may still end up that that is the case, however that won't be till FFP hit's 1.1 and IFT hit's 1.0.
Comment #2
Deciphered CreditAttribution: Deciphered commentedFixed and committed to HEAD.