Closed (fixed)
Project:
Organic Groups Blueprints
Version:
5.x-1.0-alpha5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 May 2008 at 08:49 UTC
Updated:
29 Sep 2008 at 17:11 UTC
Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of uasort(). 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/...................../og_blueprints.module on line 64
Comments
Comment #1
sdboyer commentedYeah, I noticed this on another system I was working on. I need to figure out how to address it, as the documentation I've been able to find on php.net indicates that passing class elements from within a method to uasort() requires that an instance of $this be passed by reference at call time. I haven't had time to experiment with it and verify that the claims I read are true, given that I'm trying to get panels beta4 out the door, but I'll return to this presently.
Comment #2
sdboyer commentedSo just a quick update - I've removed one of the call-time pass by reference instances, but I've left another in (the call to uasort()), as I've not yet verified that the class members being passed to it will be appropriately sorted.
Comment #3
keesee commentedGreat! I'll keep watching this for update. Please notify me when, or if you would like me to test it.
--
J.
Comment #4
merilainen commentedI also get the same error message. Waiting for a solution, this module would be very useful for me.
Comment #5
sdboyer commentedDeprecated - but not broken. You don't need to wait on a fix to this, as it doesn't _actually_ break anything - just generates an error when you're running in...E_STRICT, I think.
Comment #6
merilainen commentedWill this module be available for Drupal6?
Comment #7
sdboyer commentedNot until Panels2 is ported to D6. See #223994: Port of Panels 2.x branch to d6.
Please don't divert from the original issue subject.
Comment #8
ambereyes commentedHeh! Since this particular error is what is breaking panels for me, i.e. the "An error occurred ..." bug at http://drupal.org/node/238139, it is now critical for me. I need this for a site I need to have up in a matter of days.
What can I do to help?
Katrina
Comment #9
ambereyes commenteddupe ..ignore
Comment #10
ambereyes commentedOkay. I feel really silly cuz I simply removed the ampersand from the variable for uasort on line 64. I have no idea if or how this may or may not break things ... that remains to be seen. But the error message has gone bye-bye which means all my "Add content to this panel" windows work.
So IOW, I am removing the critical from this issue.
Please let me know what boogie-man may be awaiting me for this incursion into the "hacking place".
cheers,
Katrina
Comment #11
sdboyer commentedHeh, I should have just posted this here quite a while back. Sorry...
I just didn't know how to read the php documentation at the time. The actual fix you implemented in #10, ambereyes, is the only thing that needs to be done.
Comment #12
sdboyer commentedFixed in -dev.
Comment #13
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.