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"

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gbirch created an issue. See original summary.

gbirch’s picture

Valentine94’s picture

Status: Active » Reviewed & tested by the community

Tested, works perfectly on PHP 7.1 and 7.2. Thanks

donaldwbabcock’s picture

Tested on php 7.2, resolved the notice message. Thanks,

solideogloria’s picture

Should there be branch testing for PHP 7 versions? That would be nice.

joshuasosa’s picture

I can also confirm that this patch resolves the warning. Any plan to merge this patch in?

solideogloria’s picture

Given that there have been no commits to 7.x since 2015, probably not.

VladimirAus’s picture

+1. Working as described. 🥂
Happy to do 7.x release with other RTBC issues, bit can't do it without access.

magnolia61’s picture

I 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?