I'm running a View, which uses a relationship to the Asin-field and displays "All participants".
Since switching from php 5.2 to php 5.4 I get the following "Strict Warning" on all pages using this view.
Strict warning: Declaration of views_handler_field_amazon_participant::pre_render() should be compatible with views_handler_field::pre_render(&$values) in require_once() (Zeile 3 von MyWebserver\sites\all\modules\amazon\includes\views_handler_field_amazon_participant.inc).
No clue what this means and what is causing this ...
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | amazon-strict_warning_declaration_of_views_handler_field_amazon_participant-2684233-4.patch | 544 bytes | generalredneck |
Comments
Comment #2
smitty commentedChanging the line
function pre_render($values)to
function pre_render(&$values)in line 40 of views_handler_field_amazon_participant.inc did the trick for me.
Comment #3
aharown07 commentedThe line 40 edit smitty mentioned is working for me as well.
I'm on php 7.
Comment #4
generalredneckTHis patch is for review and will need to be porte dto 7.x-2.x. But here it is for 7.x-1.1 so that those of us who build our environments with composer, drush make and the like can download it and apply it on the fly instead of manually editing a file.
Comment #7
marcelovani