Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_rename_table(). 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 E:\workspace\eclipse\maxcomm\sites\all\modules\outline\outline.install on line 234

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_table(). 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 E:\workspace\eclipse\maxcomm\sites\all\modules\outline\outline.install on line 265

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of db_drop_table(). 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 E:\workspace\eclipse\maxcomm\sites\all\modules\outline\outline.install on line 266

Comments

ethnovode’s picture

I have the same problem with the dev snapshots for D6.

beginner’s picture

Which php versions do you use?

beginner’s picture

The three affected lines are the following ones:

  db_rename_table(&$ret, 'outline_volume', 'outline_volume_D5');
  // ...
  
  db_drop_table(&$ret, 'outline_volume_D5');
  db_drop_table(&$ret, 'outline_nodes');

Try removing the ampersand (&) in front of $ret in each case. Does this work?

lefnire’s picture

5.2.4

ethnovode’s picture

Perfect, I don't see the warning anymore and outline seems to work fine.
My PHP version is 5.2.6.

Thank you master.

beginner’s picture

Status: Active » Reviewed & tested by the community

fixed in HEAD.

beginner’s picture

Version: 6.x-0.0-alpha1 » 6.x-0.0-alpha2
Status: Reviewed & tested by the community » Fixed

Fixed in alpha2 release.

beginner’s picture

Assigned: Unassigned » beginner

Status: Fixed » Closed (fixed)

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