• Resolved KippH

    (@kipph)


    Dashboard error in WordPress Blog, Plugins & Incoming Links.
    After updating to WP 3.2.1 was working fine in 3.2. My other site is fine running 3.2.1 with very similar plugins.

    Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/web/betzwood/webshare/wordpress/wp-includes/class-simplepie.php on line 738

    Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/web/betzwood/webshare/wordpress/wp-includes/class-simplepie.php on line 1108

    Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/web/betzwood/webshare/wordpress/wp-includes/class-simplepie.php on line 1602

    Deprecated: Assigning the return value of new by reference is deprecated in /usr/share/web/betzwood/webshare/wordpress/wp-includes/class-simplepie.php on line 1643

Viewing 12 replies - 16 through 27 (of 27 total)
  • @kipph, I try your suggestion via htaccess (I don’t have access to php.ini) but I obtain a Internal Server Error 🙁

    I first deleted nearly all files for the site, leaving only the plugins, themes and uploads folders under wp-content and the config.php and .htaccess at the root folder. I then uploaded all missing core files (everything not in folders) and the wp-admin, wp-content and wp-includes.

    Then I deactivated the plugin I mentioned and no more warnings. Think there was an old or unneeded file in there somewhere.

    Hope this helps!

    ovib,

    Add this to the index.php file under the root folder (right after the <?php):

    ini_set(‘error_reporting’, E_ALL);

    Remove those lines from the .htaccess file and you should get the php errors (not the 501 error).

    In php 5.3
    =& new is deprecated

    Open your class-simplepie.php on notepad++ and do next:

    1) ctrl+h
    2) find: =& new
    3) replace: = new
    4) save

    Everything work ok after that.

    Thank you Slams, this worked perfectly! Odd that they wouldn’t release a new version.

    Replaced it 116 times here and it’s still doing it. What I don’t understand is where it came from all of a sudden.

    mencargo

    (@mencargo)

    I think it’s a PHP issue,
    We have PHP Version 5.4.0, the issue is there.

    BUT, if the =& is replaced with = then a fatal error kicks in:

    $this->data = $this->data[‘child’][end($this->namespace)][end($this->element)][];

    line 14567

    It’s not a “PHP issue”….if you people learned to read correctly, this problem is because simplepie was made to work with PHP 4. The requirements in PHP 5 has changed, and the code, while still works, should be changed to work in PHP 5.

    I’ve reported this issues some time ago, but the devs insist they want PHP 4 support (even if as esmi said, WP needs PHP 5).

    So in the end, it’s WP devs’ fault they’re allowing sloppy code from a 3rd-party extension to make it to their clients.

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    but the devs insist they want PHP 4 support (even if as esmi said, WP needs PHP 5)

    According to Ryan’s reply, it’s not that they still want PHP 4 support in WordPress, it’s that 1.3-dev version (where those notices are fixed) is not quite ready yet and needs more work on other features and bug fixes.

    lol… 🙁

    Has anyone found a solution for this ?

    I am using WP 3.4.1 and the problem its still there.

    Please post your own topic.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Deprecated Error in WP 3.2.1 Dashboard’ is closed to new replies.