• Sawtooth500

    (@sawtooth500)


    We’re running PHP 5.3.8 – need to run this because of new features in PHP

    WP 3.2.1

    We’re getting Deprecated: Assigning the return value of new by reference is deprecated in errors all over the admin. We have a very large blog. This is significantly slowing down the server….

    I need a fix to this deprecated problem. Sounds like a core wordpress problem. Not turn off error reporting, but a fix because having thousands of these deprecated errors really adds up.

    Does anyone have a timeframe for when this will be solved, or an easy solution?

Viewing 8 replies - 16 through 23 (of 23 total)
  • @ovib, to show code, bookend it with the backtick symbol usually located on the same key as the ~ symbol. I’m not clear what you mean by the code you tried to share:

    In that file have also
    &_gt; / &_lt; / &= / =& / && / &_amp; /
    I must replace hims (sic)?

    Do you mean you find this code? Are the slashes to denote new code snippets?
    </> /&= /=& / && / & /
    In your php, don’t go replacing every instance of &. There is a specific reason to replace the &$ with $ and the reason for it is documented in the thread to which I provided a link.

    I am getting only one error when I run it in debug mode – Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home2/speakwi4/public_html/wp-includes/functions.php any fix available??

    @wp_sam: Please post your own topic.

    @esmi: can we formally request a compatibility update to class-simplepie.php? I’m having the same problem as @wpsecuritylock. Mediatemple tends to update software without warning, so anyone on a Mediatemple gridserver using WordPress is likely seeing this issue..

    I am seeing this issue as well.

    nicolaelvin

    (@nicolaelvin)

    I am as well, is there a fix yet?

    ldwp

    (@ldwp)

    I’m seeing the same thing if I turn on full error reporting in PHP, using PHP 5.3 and wordpress 3.4.2.

    In my case I’m using feed.php and simplepie to parse an RSS feed, the error seems to be thrown 20 or 30 times, perhaps once for each property of each RSS entry?

    As far as I can see not everyone will be seeing it unless they have error reporting turned on, but a compatibility fix would be a good idea as just because the errors aren’t visible doesn’t mean they don’t need to be fixed. At the very least it will be filling up alot of log files…

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘Fixing Deprecated: Assigning the return value of new by reference is deprecated’ is closed to new replies.