Title: Header issue admin.php
Last modified: August 22, 2016

---

# Header issue admin.php

 *  [Lee Beetles](https://wordpress.org/support/users/lbeetles/)
 * (@lbeetles)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/)
 * I have this error on my site
 * **Warning**: Creating default object from empty value in /data01/inter/public_html/
   wp-content/themes/x-x-x-x-x/admin/admin.php on line 420
 * **Warning**: Cannot modify header information – headers already sent by (output
   started at /data01/inter/public_html/wp-content/themes/cube-office1/admin/admin.
   php:420) in /data01/inter/public_html/wp-includes/pluggable.php on line 1121
 * on line 420 (admin.php) is this function:
 * ** Set up global theme options
    *************************************/ function
   rfw_setup_theme_options(){
 *  $radium_options_db = get_option(‘radium_themes_’.RADIUMTHEMES_SHORT_NAME);
 *  global $radium_options;
 *  //Check if options are stored properly
    if( isset($radium_options_db) && is_array(
   $radium_options_db) ):
 *  //Check array to an object
    foreach ($radium_options_db as $k => $v) { $radium_options-
   > {$k} = $v; }
 *  else:
 *  do_action(‘rfw_theme_activation’);
 *  endif;
 * }
 * add_action(‘rfw_theme_init’,’rfw_setup_theme_options’,100);
    add_action(‘rfw_admin_init’,’
   rfw_setup_theme_options’,100);
 * Line 420 is “**$radium_options -> {$k} = $v;**“
 * And on line 1121 of pluggable.php is “**header(“Location: $location”, true, $
   status);**“
 * Does anyone know what could be causing this?

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207199)
 * It’s probably not the file itself in this case, but how something is interacting
   with it.
 * Try [manually resetting your plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
   If that resolves the issue, reactivate each one individually until you find the
   cause.
 * If that does not resolve the issue, access your server via [FTP or SFTP](http://codex.wordpress.org/FTP_Clients),
   navigate to `/wp-content/themes/` and rename the directory of your currently 
   active theme. This will force the default theme to activate and hopefully rule-
   out a theme-specific issue (theme functions can interfere like plugins).
 *  Thread Starter [Lee Beetles](https://wordpress.org/support/users/lbeetles/)
 * (@lbeetles)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207227)
 * Thanks for the reply unfortunately its not resolved. I only have 2 plugins and
   they seem to not cause the problem.
 * Its to do with the theme. When i deactivate the theme the error goes.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207228)
 * Excellent, so your site should operate with the Twenty Fourteen theme for now.
 * To fix the problem with the theme you were using, it would be best to get in 
   touch with the theme’s designer. If you got the theme here, you can search for
   it via [https://wordpress.org/themes/](https://wordpress.org/themes/) and find
   a Support section in the theme’s listing.
 *  Thread Starter [Lee Beetles](https://wordpress.org/support/users/lbeetles/)
 * (@lbeetles)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207229)
 * I got the theme from ThemeForest and its not on there anymore, im guessing this
   is why.
 * I shall have to find another theme and redo it, thanks for your help
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207230)
 * That could be, it may no longer be compatible.
 * If you want to try a free theme instead, the tag filter is quite fun. 🙂
 * [https://wordpress.org/themes/tag-filter/](https://wordpress.org/themes/tag-filter/)

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

The topic ‘Header issue admin.php’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/header-issue-adminphp/#post-5207230)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
