After installing and enabling all modules, I get the following:
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/content/g/e/r/gerharz/html/modules/mappingkit/mapcontext/wmc.inc on line 56
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). 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/content/g/e/r/gerharz/html/modules/mappingkit/mapcontext/wmc.inc on line 59
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of call_user_func(). 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/content/g/e/r/gerharz/html/modules/mappingkit/mapcontext/wmc.inc on line 80
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of run_child_nodes(). 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/content/g/e/r/gerharz/html/modules/mappingkit/mapcontext/wmc.inc on line 195
I'm on godaddy, and I am not dure, but replacing my own php.ini at /home/content/g/e/r/gerharz/html/ did not help. only removing the $ from those lines worked. See attached.
| Comment | File | Size | Author |
|---|---|---|---|
| wmc.inc_.txt | 6.05 KB | gerharz |
Comments
Comment #1
jpulles commentedThanks for noticing this.
However, when only removing the &'s, the print map functionality doesn't work anymore. Apparently, the call_user_func($function, $obj) doesn't use references for its parameters unless they are explicit. Calling the function as $function($obj) will do the trick (see http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/mappingkit/... for the changes).
Does this solve your problem?
Comment #2
jpulles commentedComment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.