[wp-testers] Widgets Pass By Reference Errors (was: Bleeding-edge errors on my blog)

Silverstein, Jesse Jesse.Silverstein at xerox.com
Mon Apr 27 14:08:21 GMT 2009


Good catch. For an immediate fix, for each of the line numbers it lists,
in the wp-includes/widgets.php put an @ in front of apply_filters(...);

i.e. $variable = @apply_filters('some_filter_name', $variable, &$this);

I haven't looked into why $this is being passed by reference. Maybe a
Dev or someone who already knows can comment?

-Jesse

-----Original Message-----
From: wp-testers-bounces at lists.automattic.com
[mailto:wp-testers-bounces at lists.automattic.com] On Behalf Of Garrett
Fitzgerald
Sent: Monday, April 27, 2009 10:01 AM
To: wp-testers at lists.automattic.com
Subject: [wp-testers] Bleeding-edge errors on my blog

I run on 2.8-bleeding-edge, updating regularly using SVN. It's been a
while since this has been a problem, but recently, I killed the blog.
I was able to bring it back, but it seemed a bit unstable. I was
having problems with searching and categories, so I updated to the
current nightly (11096) to see if that fixed it. Now, at the top of
every page, I get the following 3 messages, identical except for line
number:

"Warning: Call-time pass-by-reference has been deprecated; If you
would like to pass it by reference, modify the declaration of
apply_filters(). 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/.vuitton/sarekofvulcan/donnael.com/blog/wp-includes/widgets.php
on line 170", "line 231", and "line 261".

To trouble-shoot, I removed all the widgets from the sidebar,
inactivated all the plug-ins, and changed to one of the default
themes, with no obvious result (except that I could search by category
again, which was broken before). I tried exporting earlier to see if I
could restore to a stable version, but neither one of the exports got
all of my posts.
_______________________________________________
wp-testers mailing list
wp-testers at lists.automattic.com
http://lists.automattic.com/mailman/listinfo/wp-testers

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.0.238 / Virus Database: 270.12.4/2081 - Release Date:
04/27/09 06:19:00


More information about the wp-testers mailing list