Error: Call-time pass-by-reference has been deprecated

Robert Castelo - March 9, 2007 - 17:29
Project:Selenium
Version:4.7.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hi,
starting to play around with this, but get this error (PHP 5):

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of selenium_suite_view(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /Users/..../selenium.module on line 299

Line 299

selenium_suite_view(&$node, NULL, NULL, TRUE);

Removing '&' fixes it.

selenium_suite_view($node, NULL, NULL, TRUE);

 
 

Drupal is a registered trademark of Dries Buytaert.