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.
VFW throws a Warning: A non-numeric value encountered in views_field_view_handler_field_view->get_token_value(). Not surprisingly, this occurs when a non-numeric argument is fed into code that says "$arg - 1"
Comment | File | Size | Author |
---|---|---|---|
#2 | views-field-view-2941930-non-numeric-arg.patch | 575 bytes | gbirch |
|
Comments
Comment #2
gbirch CreditAttribution: gbirch at Commonwealth of Massachusetts commentedComment #3
Valentine94Tested, works perfectly on PHP 7.1 and 7.2. Thanks
Comment #4
donaldwbabcock CreditAttribution: donaldwbabcock commentedTested on php 7.2, resolved the notice message. Thanks,
Comment #5
solideogloria CreditAttribution: solideogloria commentedShould there be branch testing for PHP 7 versions? That would be nice.
Comment #6
joshuasosa CreditAttribution: joshuasosa commentedI can also confirm that this patch resolves the warning. Any plan to merge this patch in?
Comment #7
solideogloria CreditAttribution: solideogloria commentedGiven that there have been no commits to 7.x since 2015, probably not.
Comment #8
VladimirAus+1. Working as described. 🥂
Happy to do 7.x release with other RTBC issues, bit can't do it without access.
Comment #9
magnolia61 CreditAttribution: magnolia61 commentedI can also confirm this patch works. It helped me to make this module working om Drupal 7 and PHP 8.1. Can someone merge this into the 7.x-1.x-dev branch?