Title: Blank Dashboard &#8211; undefined function
Last modified: August 20, 2016

---

# Blank Dashboard – undefined function

 *  [wildjersey](https://wordpress.org/support/users/wildjersey/)
 * (@wildjersey)
 * [14 years ago](https://wordpress.org/support/topic/blank-dashboard-undefined-function/)
 * I’d appreciate any suggestions for fixing this issue. I’m dealing with the blank
   dashboard problem. I can log in, but the only thing that shows is my profile 
   settings. My site looks fine on the front end, just the dashboard is toast.
 * When I enabled error logging, I got this error after logging into the dashboard:
 * **Fatal error: Call to undefined function get_option() in /hermes/bosweb/web273/
   b2739/ipg.wildjersey/wp-admin/admin.php on line 32**
 * Here’s the code that seems related to the error in my admin.php, and I’ve bolded
   line 32:
 * **if ( get_option(‘db_upgraded’) ) {**
    $wp_rewrite->flush_rules(); update_option(‘
   db_upgraded’, false );
 *  /**
    * Runs on the next page load after successful upgrade * * [@since](https://wordpress.org/support/users/since/)
   2.8 */ do_action(‘after_db_upgrade’); } elseif ( get_option(‘db_version’) != 
   $wp_db_version && empty($_POST) ) { if ( !is_multisite() ) { wp_redirect(admin_url(‘
   upgrade.php?_wp_http_referer=’ . urlencode(stripslashes($_SERVER[‘REQUEST_URI’]))));
   exit; } elseif ( apply_filters( ‘do_mu_upgrade’, true ) ) { /** * On really small
   MU installs run the upgrader every time, * else run it less often to reduce load.**
   [@since](https://wordpress.org/support/users/since/) 2.8.4b */ $c = get_blog_count();
   if ( $c <= 50 || ( $c > 50 && mt_rand( 0, (int)( $c / 50 ) ) == 1 ) ) { require_once(
   ABSPATH . WPINC . ‘/http.php’ ); $response = wp_remote_get( admin_url( ‘upgrade.
   php?step=1’ ), array( ‘timeout’ => 120, ‘httpversion’ => ‘1.1’ ) ); do_action(‘
   after_mu_upgrade’, $response ); unset($response); } unset($c); } }
 * require_once(ABSPATH . ‘wp-admin/includes/admin.php’);
 * I have already tried deactivating the plugins and themes via FTP, AND I have 
   done a manual reinstall of WP 3.3.2. No dice.
 * Interestingly, I had this blank dashboard issue before, and after several MONTHS
   of trying to figure it out, it resolved itself somehow. The problem just returned
   spontaneously. I had not done any upgrades or even added any posts to my blog.
 * Would be grateful for any ideas.

The topic ‘Blank Dashboard – undefined function’ is closed to new replies.

## Tags

 * [blank dashboard](https://wordpress.org/support/topic-tag/blank-dashboard/)
 * [undefined function](https://wordpress.org/support/topic-tag/undefined-function/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wildjersey](https://wordpress.org/support/users/wildjersey/)
 * Last activity: [14 years ago](https://wordpress.org/support/topic/blank-dashboard-undefined-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
