Title: Fatal error
Last modified: August 20, 2016

---

# Fatal error

 *  [groovespot](https://wordpress.org/support/users/groovespot/)
 * (@groovespot)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-674/)
 * Hi all!
 * I’ve got error while trying to add media to page/post….
 * Fatal error: Call to a member function add_menu() on a non-object in …./wp-content/
   themes/agility/functions.php on line 993
 * line 993:
    $wp_admin_bar->add_menu( array( ‘id’ => ‘agility_update_notifier’,‘
   title’ => ‘<span> Agility Theme <span id=”ab-updates”>New Updates</span></span
   >’, ‘href’ => get_admin_url() . ‘admin.php?page=agility-settings&updates=1’ ));
 * Is this about theme updating?
 * Thanks for help!
    Nick

Viewing 1 replies (of 1 total)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-674/#post-3547583)
 * Looks like a theme problem – and as that’s a commercial theme, can only suggest
   you contact the developer for help with it.
 * [http://codex.wordpress.org/Login_Trouble](http://codex.wordpress.org/Login_Trouble)
 * If you can’t login, you can deactivate the theme via FTP – [http://codex.wordpress.org/Login_Trouble#Deactivate_Theme](http://codex.wordpress.org/Login_Trouble#Deactivate_Theme)

Viewing 1 replies (of 1 total)

The topic ‘Fatal error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-674/#post-3547583)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
