WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Deprecated Error in WP 3.2.1 Dashboard (28 posts)

  1. KippH
    Member
    Posted 2 years ago #

    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

  2. dmytri
    Member
    Posted 2 years ago #

    No amount of fiddling with error settings does anything about this, could the issue be with the RSS servers upstream?

  3. KippH
    Member
    Posted 2 years ago #

    Could be don't know I'm new to this stuff. Anyway to test this? Or turn off?

  4. KippH
    Member
    Posted 2 years ago #

    Could it be a PHP5 issue?
    PHP v5.3.2

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    No - the minimum requirement is PHP 5.2.4 Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

  6. KippH
    Member
    Posted 2 years ago #

    Completed everything listed above and nothing corrected the issue

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It's definitely not coming from WP core, so it's either a bad plugin/theme or a corrupt file.

  8. KippH
    Member
    Posted 2 years ago #

    Jetpack plugin did give me some errors when deactivating/activating. But did not solve the issues of the WordPress Blog shooting errors on the Dashboard.

  9. KippH
    Member
    Posted 2 years ago #

    Got some of the errors to go away after re-configuring the rss feed plugins on the dashboard. I also disabled notice error reporting & error display in the php.ini file. Working for now. Still cannot get the Plugins Blog running on the Dashboard. Oh Well 3 out of 4 isn't bad.

  10. Morten Ross
    Member
    Posted 2 years ago #

    Got the same error as well, and none of abovementioned steps have helped.

    My errors display in Dashboard, "incoming links", "Plugins" and "WordPress blog":
    Deprecated: Assigning the return value of new by reference is deprecated in ...\wordpress\wp-includes\class-simplepie.php on line 738

  11. KippH
    Member
    Posted 2 years ago #

    Got the same error as well, and none of abovementioned steps have helped.

    My errors display in Dashboard, "incoming links", "Plugins" and "WordPress blog":
    Deprecated: Assigning the return value of new by reference is deprecated in ...\wordpress\wp-includes\class-simplepie.php on line 738

    Did you try resetting the RSS feeds & editing the php.ini file to disable notice errors? All of the sudden it starting working fine after a few days. I have not seen any of the errors return. I do think the php.ini file was edited by our host accidentally.

  12. manndtp
    Member
    Posted 2 years ago #

    The issue is most likely due to the simplepie you are using. Adding the SimplePie Core plugin here seems to have fixed things here:

    http://wordpress.org/extend/plugins/simplepie-core/installation/

  13. jeanmorency
    Member
    Posted 2 years ago #

    Hi Guys!

    I tried all of @esmi tricks. It did not worked.

    I tried plugin suggested by @manndtp. I did not worked.

    @KippH, which php.ini are you refering too? WordPress installed main folder? Can you post the snippet of code like you modified it?

    Also, how did you reset the RSS feed. I am NOT using any plugin for RSS. My theme is TwentyTen.

    Thank you all for taking the time to reply and post on this topic.

    Best regards
    Jean

  14. jeanmorency
    Member
    Posted 2 years ago #

    I just discovered a nice plugin to help track the problem.
    Log Deprecated Notices By Andrew Nacin http://wordpress.org/extend/plugins/log-deprecated-notices/

    I already noticed that some plugin were registering errors.

  15. KippH
    Member
    Posted 2 years ago #

    php5.ini lines added to disable error reporting & error display

    error_reporting=E_ALL & ~E_NOTICE
    display_errors=off
  16. ovib
    Member
    Posted 2 years ago #

    Some really solutions to that problem? Or almost some idea to understand the cause to that?

  17. ovib
    Member
    Posted 2 years ago #

    @KippH, I try your suggestion via htaccess (I don't have access to php.ini) but I obtain a Internal Server Error :(

  18. manndtp
    Member
    Posted 2 years ago #

    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!

  19. manndtp
    Member
    Posted 2 years ago #

    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).

  20. Slams
    Member
    Posted 2 years ago #

    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.

  21. TootsieRoll
    Member
    Posted 2 years ago #

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

  22. Terence
    Member
    Posted 2 years ago #

    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.

  23. mencargo
    Member
    Posted 2 years ago #

    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

  24. uuf6429
    Member
    Posted 1 year ago #

    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.

  25. Sergey Biryukov
    Trac Moderator
    Posted 1 year ago #

    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.

  26. ovib
    Member
    Posted 1 year ago #

    lol... :(

  27. polle001
    Member
    Posted 1 year ago #

    Has anyone found a solution for this ?

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

  28. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic