I was getting a WSOD and the error log said:
PHP Fatal error: Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of rules_invoke_component(). in /[...]/sites/all/modules/rb/views/rb_views_plugin_argument_validate_rules_component.inc on line 44
In that file, I changed this
$result = rules_invoke_component($this->options['component'], &$this->argument->argument, $this->view->args);
to this:
$result = rules_invoke_component($this->options['component'], $this->argument->argument, $this->view->args);
It seems to work, but I didn't test for anything else besides my use.
Comments
Comment #1
tolstoydotcomComment #2
jason.fisher commentedConfirming the same fix here.
Comment #3
mcdoolz commentedSeems to be fixed. Thank you.
Comment #4
cmstomThe fix works for sure for me.
Comment #5
maximpodorov commentedThe patch fixes the problem.
Comment #6
r2coder commentedThank you. Confirming the patch resolves the issue. /r
Comment #7
ikeigenwijs commentedThe patch is correct and works but is also posed in an older issue
https://www.drupal.org/node/1552154
Comment #8
Bishupz1 commentedI just updates Drupal 7.41 to 7.42 and I am receiving the error that you have posted here. I found the script that has the code you are referring to.
Moved from "views" module to "rb" rules bonus module.
rb_views_plugin_argument_validate_rules_componet.inc
(#5 patch is there and written the exact same way)
I am on a PHP 5.5.12 wamp server
I don't know if this is a core update problem or another module working in tangent.
The Debug information starts with the script
structure/views/ajax/add-item/[view-machine-name]/block/argument
Any help would be appreciated, where to look, if you know of this problem...
Thank you for your time..