A number of PHP Strict warnings (due to inconsistencies in function definitions) have been fixed in the Views module:
One of those inconsistencies was in the views_field_view_handler_field_view::pre_render() function, where $values should have been passed by reference, but was not. A patch has been committed to fix this inconsistency in Views 6.x-2.x and 6.x-3.x, but has not yet made it into a new release of Views.
So anyone using a -dev version of Views for Drupal 6 right now, or a future release of Views for Drupal 6 (6.x-2.19+ or 6.x-3.2+, once they are released), would get the following PHP strict warning when using Views Field View:
Strict warning: Declaration of
views_field_view_handler_field_view::pre_render() should be compatible
with views_handler_field::pre_render(&$values) in views_include_handler() (line 76 of /path/to/drupal/sites/all/modules/views/includes/handlers.inc).
This happens because $values is not passed by reference in the views_field_view_handler_field_view::pre_render() function.
Comment | File | Size | Author |
---|---|---|---|
#1 | strict-warning-2533156-1.patch | 570 bytes | rjay |
Comments
Comment #1
rjay CreditAttribution: rjay at North Studio commentedHere's a patch that updates the declaration of the views_field_view_handler_field_view::pre_render() function so $values is passed by reference.
Comment #2
jibranDrupal 6 compatible versions of the module are not supported anymore.