I think this function is the issue. Can anyone help with this?
function network_admin_url( $path = ‘/’, $scheme = ‘admin’ ) {
if ( ! is_multisite() )
return admin_url( $path, $scheme );
$url = network_site_url (‘/’, $scheme);
if ( !empty($path) && is_string($path) && strpos($path, ‘..’) === false )
$url .= ltrim($path, ‘/’);
return apply_filters(‘network_admin_url’, $url, $path)