Network Admin “You do not have sufficient permissions to access this page.”

The easiest way to restore Super Admin privileges is to add a bit of code to your theme’s functions.php file to add yourself back:

include(ABSPATH . 'wp-admin/includes/ms.php');
$user = get_userdatabylogin('YOUR_USERNAME');
grant_super_admin($user->ID);

Once your Super Admin privileges have been restored you can remove this code from your theme.

Leave a Comment