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.
hi, the title says it all - the function signature is
function feeds_tamper_default_value_callback($source, $item_key, $element_key, &$field, $settings, $source) {...}
resulting in
PHP Fatal error: Redefinition of parameter $source in sites/all/modules/contrib/feeds_tamper/plugins/default_value.inc on line 36
a few months back it was working - I think after some recent update to php5.6 - now it doesn't
anyways $source is not used in function so I just simply renamed last param to $source2 and all is good
pls, fix
thanks
Comment | File | Size | Author |
---|---|---|---|
#4 | feeds_tamper_redefinition_parameter-2800045.patch | 683 bytes | balian0303 |
Comments
Comment #2
basscleff94010 CreditAttribution: basscleff94010 as a volunteer commentedI am having the same problem with php5.6. Reverting to php5.5 fixed it.
Comment #3
misjao CreditAttribution: misjao commentedNoticed this bug was already fixed by someone in December of last year, but there hasn't been a new release since. See bug: https://www.drupal.org/node/2567431
Downloading the development release 7.x-1.x-dev will fix your problem.
Comment #4
balian0303 CreditAttribution: balian0303 commentedFor those who don't want to use development versions if not necessary.