Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8039013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T03:25:57+00:00 2026-06-05T03:25:57+00:00

TL;DR : Upgraded PHP on our server which caused a bunch of Deprecated errors

  • 0

TL;DR : Upgraded PHP on our server which caused a bunch of Deprecated errors to appear in WordPress, tried a number of fixes but the errors won’t go away.

PHP Version: 5.3.10
WordPress Version: 3.3.2

I have a WordPress installation that has been up and running for a little while now, with no complaint.

This week, we upgraded PHP on the server to 5.3.10, after the update, the WordPress Dashboard began filling up with errors like this:

Deprecated: Assigning the return value of new by reference is deprecated in /home/random/public_html/wp-includes/class-simplepie.php on line 738

A large number (I suspect 116) of errors like this (each on a different line) appear in

  • Incoming Links
  • WordPress Blog
  • Plugins

As advised by a number of posts around the WordPress forums, I disabled error reporting both at a file level (by adding error_reporting(0); to the top of wp-config.php and/or other files) and using PHP.ini. Phpinfo confirms that error_reporting = 0.

This had no effect, with the warnings still showing up on the dashboard.

I tried disabling all of my plugins and reverting to the default theme (with a mind to enable each one in turn to see if one of them was causing the issue) but the errors continued to appear.

Next, instead of treating the symptom, I went to see if I could fix the cause of the issue.

Getting deprecated error with Simplepie

and

Assigning the return value of new by reference is deprecated

pointed to class-simplepie.php having some out of date syntax inside.

Using find/replace in my text editor I swapped all 166 instances of

=& new

for

= new

And I am still seeing errors on my dashboard.

So, as far as I can see, there should be no errors to report, and if there were, they shouldn’t be showing up anyway.

WordPress is not running in debug mode.

A paste of my phpinfo can be found here: http://pastebin.com/Pk68sDL1 if it is of any use to anyone.

Not sure what to try next. Any tips much appreciated.

D

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T03:25:58+00:00Added an answer on June 5, 2026 at 3:25 am

    I was having the exact same problem today and I also tried all of the solutions you listed. Eventually I realized that after I replaced

    =& new
    

    with

    = new
    

    in class-simplepie.php, I also needed to reload the modules in the dashboard. This doesn’t seem to happen when you just refresh the browser page, or even hide the module and then show it again.

    So I highlighted the Incoming Links module on the Dashboard and clicked Configure. I changed the RSS feed URL to anything else (google.com), hit Submit, and it worked. Refreshed that module with no more deprecated errors from class-simplepie.php. Did the same for the WordPress Blog module and that also worked.

    The only thing I cannot figure out is how to refresh the Plugins module. It doesn’t have a Configure option and I can’t get it to reload like the others.

    Edit: Plugins module works now as well. Just needed time to reset.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Our dev server was recently upgraded to PHP v5.2.13. With that upgrade we have
We recently upgraded our PHP and apache versions on our server. Prior to this
I manage a CakePHP 1.1 CMS website, and our hosts just upgraded PHP to
I Upgraded PHP 5.2.8 to php 5.3.10, but php_memcache.dll(Memcache 2.2.6 VC9 x64 Thread Safe)
After my hosting provider upgraded server (Debian) and PHP (from 5.2.6 to 5.3.2) I
I have never upgraded my version of PHP but feel I need to to
I need to parse an RSS feed using PHP but the server only has
Pair.net recently upgraded our PHP install and afterwards client started see HTML in email
I upgraded to PHP 5.3 and i got the error: ereg has been deprecated.
My server admin recently upgraded to PHP 5.3 and I'm getting a weird bug

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.