Closed (fixed)
Project:
Rules Bonus Pack
Version:
7.x-1.x-dev
Component:
Rules Bonus: Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Nov 2011 at 11:46 UTC
Updated:
16 Dec 2011 at 23:10 UTC
I upgraded to the nov. 11 dev. and I am receiving these errors:
Deprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1105 of C:\...\includes\bootstrap.inc).
Deprecated function: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of rules_invoke_event(). 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 in drupal_load() (line 1105 of C:\...\includes\bootstrap.inc).
BR, Max
Comments
Comment #1
maxilein commentedIt is connected to the Rules Bonus: Miscellaneous. When I deactivate that the message is gone.
Comment #2
PedroMiguel commentedSame happen to me when activate the rules bonus views
Comment #3
nikit commentedFor Rules Bonus Views : rb_views.module
rules_invoke_event('rb_views_event_view_execute', &$view_representation);
replace to
rules_invoke_event('rb_views_event_view_execute', $view_representation);
...
And all function CALLS that contain &$views as argument should be replaced to $views
Comment #4
tabvn commentedDeprecated function: Call-time pass-by-reference has been deprecated in drupal_load() (line 1105 of includes/bootstrap.inc).
Comment #5
itangalo commentedThanks for posting on this. Adding it to my list of low-hanging-fruit, so a fix should be done rather soon. (Can't promise to do it within a week, though.)
Comment #6
itangalo commentedFixed and pushed.
Feels strange to remove all the pass-by-reference – are you sure none of them can be kept?