Title: Deprecated Errors &amp; No Access
Last modified: August 19, 2016

---

# Deprecated Errors & No Access

 *  [jimson7](https://wordpress.org/support/users/jimson7/)
 * (@jimson7)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/deprecated-errors-no-access/)
 * Hello,
 * I’m getting the following error messages (numerous times) at the top of my blog:
 * “Deprecated: Assigning the return value of new by reference is deprecated in…”
 * It is probably old theme code running on php 5.3.3. I realize I have to update
   WP, and get an updated theme. However, the problem I am having is I can’t log
   into the control panel to change themes. I get the following error messages:
 * 1. Deprecated: Assigning the return value of new by reference is deprecated
 * 2. Warning: Cannot modify header information – headers already sent by …
 * Therefore, I don’t have access to the control panel. I can enter the username,
   and password, and still get error messages, but no access.
 * Any ideas?
 * Many Thanks!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/deprecated-errors-no-access/#post-2029331)
 * Switch to the Twenty Ten theme by renaming your current theme’s folder in wp-
   content/themes using [FTP](http://codex.wordpress.org/FTP_Clients) or whatever
   file management application your host provides.
 *  [transom](https://wordpress.org/support/users/transom/)
 * (@transom)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/deprecated-errors-no-access/#post-2029334)
 * Change the value of WP_DEBUG in your wp-config file to FALSE

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

The topic ‘Deprecated Errors & No Access’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [transom](https://wordpress.org/support/users/transom/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/deprecated-errors-no-access/#post-2029334)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
