Title: Superuser deleted
Last modified: September 1, 2016

---

# Superuser deleted

 *  [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/)
 * We stopped working with the former superuser well over a year ago, though he 
   told me when we parted that he had given me superuser status. Wrong, but based
   on that misinformation, I deleted the superuser. Ok, that was dumb, but now how
   do I re-create a superuser and assign it to myself?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/superuser-deleted/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/superuser-deleted/page/2/?output_format=md)

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464802)
 * Look at the last method here:
 * [http://drawne.com/add-super-admin-wordpress-network/](http://drawne.com/add-super-admin-wordpress-network/)
 * If you know the numeric ID for your own user record, you can make yourself a 
   superadmin.
 *  [Wooninjas](https://wordpress.org/support/users/wooninjas/)
 * (@wooninjas)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464848)
 * This will solve your problem. follow the steps carefully.
 * [http://www.inmotionhosting.com/support/edu/wordpress/333-add-admin-via-mysql](http://www.inmotionhosting.com/support/edu/wordpress/333-add-admin-via-mysql)
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464866)
 * !. I know my user name, but not number. How would I find it?
    2. I do not know
   how to access the cPanel interface. Where do I find it?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464871)
 * look at wp_users in phpmyadmin to get your user id or look at Users -> All Users.
   Hover over the leftmost link for your ID (to the right of your avatar) and you’ll
   see an “id=” in the URL. that’s your database ID.
 * Contact your host for help getting to the cpanel or phymyadmin.
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464936)
 * I determined my ID number in phpMyAdmin, as suggested by sterndata, but I cannot
   find wp-content, let alone functions.php. Where do I look for it? As for the 
   next to last option, there is no wp_sitemeta table in phpMyAdmin for my site.
 * As for the suggestion made by Wooninjas, I succeeded in adding an admin per the
   steps laid out, but it created another administrator, like me, not a superadmin(
   superuser). Is there code which would create a superuser, rather than an administrator?
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464937)
 * The only .php files I find are in Appearance, then Editor, but there is no function.
   php.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464941)
 * are you on a multisite system? You used super admin, but perhaps that’s no what
   you meant.
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464946)
 * I found function.php. However, when I added the code, I got this message, “Fatal
   error: Call to undefined function grant_super_admin() in /data/21/3/30/21/3682184/
   user/4095120/htdocs/wp-content/themes/auriga/functions.php on line 230”
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464948)
 * Now, I cannot get into the portal at all. When I try, the error message set out
   above appears.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464950)
 * download that file via FTP, delete the line in question, and re-upload it.
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464957)
 * Where do I go, what site, to FTP the file? As it turns out, my site is also crashed.
   When I try to reach it, cunhaholcomb.com, the “Fatal error: Call to undefined
   function grant_super_admin() in /data/21/3/30/21/3682184/user/4095120/htdocs/
   wp-content/themes/auriga/functions.php on line 230” error message appears.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464958)
 * Check with your host for FTP information. The file is /wp-content/themes/auriga/
   functions.php.
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464960)
 * I’m able to access the files through my host, but there are 6 different functions.
   php files. Should I look at them all? None are dated today.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464961)
 * no, just the one you edited, which appears to be wp-content/themes/auriga/functions.
   php.
 *  Thread Starter [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * (@jackcunha)
 * [10 years ago](https://wordpress.org/support/topic/superuser-deleted/#post-7464974)
 * Ok, I fixed functions.php. Any other ideas on how to re-create a superadmin?

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/superuser-deleted/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/superuser-deleted/page/2/?output_format=md)

The topic ‘Superuser deleted’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 16 replies
 * 3 participants
 * Last reply from: [jackcunha](https://wordpress.org/support/users/jackcunha/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/superuser-deleted/page/2/#post-7464980)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
