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.
Problem/Motivation
Using PHP 7.1 with feeds tamper throws a 'Too few arguments exception' when calling feeds_tamper_rewrite_callback() in rewrite.inc. This originates from some calls not specifying the final parameter for the delta which isn't really needed unless you're looping over multiple field values or data items.
Proposed resolution
Provide a default value for the parameter in the function signature.
Remaining tasks
Write patch to do the above.
User interface changes
N/A
API changes
N/A
Data model changes
N/A
Comment | File | Size | Author |
---|---|---|---|
provide_default_param_values.patch | 728 bytes | johan.gant | |
Comments
Comment #2
MegaChriz CreditAttribution: MegaChriz as a volunteer commentedCan it be that you added the
$delta
parameter yourself first? There is such parameter in the dev version.