Download & Extend

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

Project:DataBase File Manager
Version:5.x-3.2
Component:Code
Category:bug report
Priority:normal
Assigned:rooey
Status:closed (fixed)

Issue Summary

To my surprise after enabling this module it spits out before drupals header

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of [runtime function name](). 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 /home/.oolong/polybonk/poly.osrcgamer.com/drupal5/sites/all/modules/dbfm/dbfm.module on line 2604

Comments

#1

Changed line 2604

$ret_val = dbfm_perm_recur($fkid, &$err_str);
to

$ret_val = dbfm_perm_recur($fkid, $err_str);

#2

Can you confirm that this was defiantly 5.x.3.0 ?

#3

Assigned to:Anonymous» rooey
Status:active» postponed (maintainer needs more info)

#4

Yes this was with dbfm-5.x-3.0

#5

Status:postponed (maintainer needs more info)» needs work

#6

This also happened to me with 5.x-3.1. tom-d's fix got rid of the error for me too.

#7

Status:needs work» needs review

Grr. I don't know how this one snuck back in on 5.x.3.1 lol - we had fixed it!

#8

Version:5.x-3.0» 5.x-3.1

The error line in the current version is now: 2576 with the expression as reference by tom-d's fix and got a mess.

ie.,

Changed line 2574

$ret_val = dbfm_perm_recur($fkid, &$err_str);
to

$ret_val = dbfm_perm_recur($fkid, $err_str);

It now appears that the error isline 1555:

$js = 'function getIconDir(){return '.drupal_to_js($base_url."/".variable_get('dbfm_icon_dir','')).';} function getDbfmPath(){return '.drupal_to_js($dbfmpath).';} function getCleanUrl(){return '.drupal_to_js($clean_url).'; }';

#9

Thanks will add it to the list.

#10

Version:5.x-3.1» 5.x-3.2-rc0

#11

Version:5.x-3.2-rc0» 5.x-3.2
Status:needs review» fixed

#12

Status:fixed» closed (fixed)

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