Module works fine, but I get the following warnings as soon as I enable the module:

"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 /opt/www/sites/all/modules/draggableviews/draggableviews.inc on line 179

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 /opt/www/sites/all/modules/draggableviews/draggableviews.inc on line 202

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 /opt/www/sites/all/modules/draggableviews/draggableviews.inc on line 224

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of drupal_get_form(). 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 /opt/www/sites/all/modules/draggableviews/draggableviews.views.inc on line 397

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 /opt/www/sites/all/modules/draggableviews/draggableviews.views.inc on line 779

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 /opt/www/sites/all/modules/draggableviews/draggableviews.views.inc on line 880"

Comments

junro’s picture

Hi, I have exactly the same problem, did you fix it? How? ^^

Markpanzee’s picture

This warning is a PHP warning - it's letting us know that we really shouldn't use "call-time pass-by-reference" because in the future at some point, this will stop being supported. To fix this, the module should probably be rewritten - but an easy fix is to edit your php.ini file (if you can) and somewhere in there you can set the variable "allow_call_time_pass_reference" to true.

junro’s picture

junro’s picture

I havent' fix the problem ""Warning: Call-time pass-by-reference has been deprecated..."
I had change in my php.ini the ligne:
allow_call_time_pass_reference = Off (I put it on On)
It's change nothing, I still have the Warning message...

junro’s picture

I've got always the Warnig message, and Draggable Views doesn't still work.
Every where I click in Views settings (every views), I have this message:
An error occurred at /drupal-6.4/admin/build/views/ajax/display/xxxmy_viewsxxx/default/style_plugin
An error occurred at /drupal-6.4/admin/build/views/ajax/display/xxxmy_viewsxxx/page_1/use_ajax
well always: An error occurred at /drupal-6.4/admin/build/views/ajax/display/
If I dsable Draggable Views module, every works fine...

Any idea?

sevi’s picture

I'll change the concerned function calls and declarations with the next version of draggableviews. Upcoming.

greetings,
sevi

sevi’s picture

Status: Active » Fixed

fixed since Draggableviews 6.x-3.0

Anonymous’s picture

Status: Fixed » Closed (fixed)

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