Hi,
Is user with id 10335 a site admin? Normally the main set admin has the id 2 but if I remember that correctly, the code assumes the first site admin is the main admin - could it be that this user's id was added manually to the site admin list OR the user with id 2 has been deleted for some reason? This appears to be a permissions thing.
Is user with id 10335 a site admin? Normally the main set admin has the id 2 but if I remember that correctly, the code assumes the first site admin is the main admin - could it be that this user's id was added manually to the site admin list OR the user with id 2 has been deleted for some reason? This appears to be a permissions thing.