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 ...

Comments

smitty created an issue. See original summary.

smitty’s picture

Changing 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.

aharown07’s picture

The line 40 edit smitty mentioned is working for me as well.
I'm on php 7.

generalredneck’s picture

Status: Active » Patch (to be ported)
StatusFileSize
new544 bytes

THis 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.

marcelovani’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.