Title: Theme causing reloading problems in admin environment
Last modified: August 20, 2016

---

# Theme causing reloading problems in admin environment

 *  Resolved [talvitie](https://wordpress.org/support/users/talvitie/)
 * (@talvitie)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/)
 * Background:
    I’ve developed a new theme which works locally perfectly. I am experiencing
   problems after I’ve uploaded the theme to my server.
 * Problem:
    I have problems reloading admin page after I have made a change that
   requires data to be sent to the database. Data is saved but the page doesn’t 
   reload, it leaves me with an empty page. The reload usually freezes in pages 
   like /wp-admin/post.php, /wp-admin/profile.php or /wp-login.php?action=logout&
   _wpnonce=0c8419c2a7.
 * Exception is logging out which does not work.
 * Tried solutions:
    1.  Manually reinstalled WordPress.
        A new database

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

 *  Thread Starter [talvitie](https://wordpress.org/support/users/talvitie/)
 * (@talvitie)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490138)
 * Forgot to mention one thing. The problem could be related to a plugin but I have
   deleted it.
 *  [rughooker](https://wordpress.org/support/users/rughooker/)
 * (@rughooker)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490171)
 * I’ve recently run into the same problem. No solution yet, but if I strip the 
   url in the address bar back to just website.com/wp-admin I can get back to the
   admin page. When I visit whatever page caused the problem, I see that it “took”,
   it got messed up finding its way back to the updated page only.
 * It’s a frustration, but at least I am up and running.
 * I’m having problems with Bluehost and throttling – a term I didn’t even know 
   until a few weeks ago. Never saw it on the throttled site but after a fresh install
   with the latest WP it showed up.
 *  [Joseph Adediji](https://wordpress.org/support/users/josylad/)
 * (@josylad)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490215)
 * I am experiencing the same too with my themes and most plugins too. I think they
   should find a fix for this as soon as possible. am tired of all these bugs
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490221)
 * **[@talvitie](https://wordpress.org/support/users/talvitie/)**: 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](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  [Joseph Adediji](https://wordpress.org/support/users/josylad/)
 * (@josylad)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490232)
 * I have uninstalled all plugins, i even uninstalled my wordpress but its still
   hapening. i cant even use a theme, am stuck with the default theme and my admin
   panel is not loading
 * _[Don’t bump. And try posting your own topic instead of interrupting another 
   poster’s thread.]_
 *  Thread Starter [talvitie](https://wordpress.org/support/users/talvitie/)
 * (@talvitie)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490284)
 * I had to search with different keywords and I’ve found some other posts with 
   similar problems. I think I’m close to a solution. The problem seems to be related
   to the theme’s functions.php file, something to do with empty spaces.
 *  Thread Starter [talvitie](https://wordpress.org/support/users/talvitie/)
 * (@talvitie)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490289)
 * **Yes!** So, the key is to avoid empty spaces from the bottom, top and middle.
   I had several <?php ?> tags in my functions.php file and I made one big PHP tag
   where I moved all the code. This solved everything and no more blank screens!
 *  [Mr.NoComment](https://wordpress.org/support/users/mrnocomment/)
 * (@mrnocomment)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490542)
 * **SOLVED**
    Thank you “**talvitie**” you got it. I may just make it more clear
   from my case:
 * My theme’s functions.php was like this..
 * <?php
    // my original php code ?> // empty line that caused the problem <?php//
   another php code in a new tag ?>
 * I just removed that empty line and the caused became as follows..
 * <?php
    // my original php code ?> <?php // another php code in a new tag ?>
 *  [thunderdunk](https://wordpress.org/support/users/thunderdunk/)
 * (@thunderdunk)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490569)
 * I’m having this same issue, but am still a bit confused as to the solution–
 * The empty lines Mr NoComment is referring to, are they actually commented lines
   with //, html, or just blank space inside/outside a php tag?
 * I was looking at talvitie’s solution and I can’t just put my whole file inside
   one blanket php tag since I have all my loops and custom content types in the
   functions.php file.
 * I’ll check again, but it looks like all my php tags were properly opened and 
   closed–am I missing something?
 * Didn’t have this problem til I updated to WP 3.3.1
 *  [Mr.NoComment](https://wordpress.org/support/users/mrnocomment/)
 * (@mrnocomment)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490570)
 * The idea is simple don’t make empty lines BETWEEN open and closed php tags ,,
   
   the comments here “//” just to refer to the lines causing the problem

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

The topic ‘Theme causing reloading problems in admin environment’ is closed to new
replies.

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [problem](https://wordpress.org/support/topic-tag/problem/)

 * 10 replies
 * 6 participants
 * Last reply from: [Mr.NoComment](https://wordpress.org/support/users/mrnocomment/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/theme-causing-reloading-problems-in-admin-environment/#post-2490570)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
