Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: mErilainen commentedI also get the same error message. Waiting for a solution, this module would be very useful for me.
Comment #5
sdboyer CreditAttribution: 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 CreditAttribution: mErilainen commentedWill this module be available for Drupal6?
Comment #7
sdboyer CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: ambereyes commenteddupe ..ignore
Comment #10
ambereyes CreditAttribution: 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 CreditAttribution: 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 CreditAttribution: sdboyer commentedFixed in -dev.
Comment #13
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.