Title: Deprecated
Last modified: August 19, 2016

---

# Deprecated

 *  Resolved [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * (@tgc5308)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/)
 * What does this mean, and how do I fix it?
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   wamp\www\wp-settings.php on line 601

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278360)
 * Deprecated means that the relevant function or technique should no longer be 
   used and may not be supported by PHP for much longer.
 *  Thread Starter [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * (@tgc5308)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278456)
 * I deleted the settings but now nothing will work. I now have to fix line 365 
   in the Link Template. Should I delete that?
 * How should I change these settings? Delete them or change the values…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278515)
 * Sorry but I’ve no idea what you did, what you’re working on and/or what you’re
   trying to achieve.
 *  Thread Starter [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * (@tgc5308)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278561)
 * This is what I am getting:
    Deprecated: Assigning the return value of new by 
   reference is deprecated in C:\wamp\www\wp-settings.php on line 601
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   wamp\www\wp-settings.php on line 616
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   wamp\www\wp-settings.php on line 623
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   wamp\www\wp-settings.php on line 630
 * Deprecated: Assigning the return value of new by reference is deprecated in C:\
   wamp\www\wp-settings.php on line 666
 * Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\wamp\www\
   wp-settings.php on line 18
 * I removed these specified lines in the settings file. The site would not come
   up at all. I got a message saying, “Fatal error” and something about line 365
   in another file. I didn’t want to delete line 365 and make matters worse so I
   put everything back in. Now, I can see my site but with the above warnings.
 * How can I disable these errors without disabling the entire site?
 * Thanks for getting back to me on this.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278583)
 * Leave wp-settings alone. It’s a core file and should not be edited unless you
   really, **really,** know what you’re doing. Plus there’s nothing wrong with that
   file. It’s working fine on thousands of other WP sites.
 * 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 default theme to rule out any theme-related problems?
 *  [offspring](https://wordpress.org/support/users/offspring/)
 * (@offspring)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278598)
 * You should probably configure your WAMP and set it not to show PHP warnings.
   
   I agree with esmi – don’t touch wp-settings.php.
 *  Thread Starter [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * (@tgc5308)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278602)
 * Do I configure that through phpMyAdmin?
 * The warnings were there before the new theme went in so it’s not the theme.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278610)
 * No – it’s part of your server configuration.
 *  [offspring](https://wordpress.org/support/users/offspring/)
 * (@offspring)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278614)
 * If I remember correctly, you can right-click on WAMP icon in the notification
   area and choose PHP->Edit php.ini or something like this. Anyway, you need to
   find `php.ini` file and edit a line in it that contains something similar to
   `
   error_reporting = E_ALL` you may want to change it to `error_reporting = E_ERROR`
   for example, this will show only critical errors. For other values see here –
   [http://www.php.net/manual/en/errorfunc.constants.php](http://www.php.net/manual/en/errorfunc.constants.php)
 *  Thread Starter [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * (@tgc5308)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278629)
 * Thanks. For this site I decided to download the new theme to my existing online
   blog and work from there. For next time though I will keep these fixes in mind.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Deprecated’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [TGC5308](https://wordpress.org/support/users/tgc5308/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/deprecated/#post-1278629)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
