My environment has Varnish sitting in front of Apache with E_STRICT enabled. Because of my environment I have set the keys reverse_proxy and reverse_proxy_addresses of the $conf array in settings.php:
$conf = array(
'reverse_proxy' => TRUE,
'reverse_proxy_addresses' => array('127.0.0.1'),
);
From once this has been changed, every page load will print the following:
Strict Standards: Only variables should be passed by reference in /home/smales/drupal/html/includes/bootstrap.inc on line 1203
The problem is explode() being passed into array_pop(). The site still performs as expected apart from the warning. My suggestion is to assign the exploded array to a variable and pass that variable to array_pop().
The attached code is an Subversion diff, but the change is obvious.
Comments
Comment #1
simon.males commentedDuplicate of #320171: Boostrap IP Address test exception