Support » Networking WordPress » Network add user results in expired link

  • Wesley

    (@wesleyburo3)


    Hi,

    When we try to add some super users to our network, we get a expired link message. I cannot figure out where the problem is coming from and how to fix it.

    Besides the problem above, we also get an error when editing users and giving them super rights. The message which occures is invalid user-ID.

    Can someone help us with these problems.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Auri

    (@aurimakela)

    Hi Wesley!

    The expired link error sounds like there may be an issue with how your network’s domain has been configured. What does network structure look like? Is the http://www.motoplus.nl your canonical domain, or without the www? Which one is defined in your wp-config.php?

    As for the invalid user ID: have you ensured these users that you are attempting to give exist in the entire network? In other words, is there a chance you are attempting to give super admin rights to a user that only exists on a subsite?

    Do you happen to have any additional information about these errors, such as error logs?

    Thread Starter Wesley

    (@wesleyburo3)

    Hi Auri,

    Thank you for your reply! We have the following configuration in our wp-config.php:

    define(‘DOMAIN_CURRENT_SITE’, ‘motoplus.nl’);
    define(‘NOBLOGREDIRECT’, ‘https://www.motoplus.nl/’);
    define(‘PATH_CURRENT_SITE’, ‘/’);

    And this is the link WordPress is using to add a new user:
    https://www.motoplus.nl/wp-admin/network/user-new.php?action=add-user
    I have enabled Query monitor and it gives the following error.

    1. wp_die()
      wp-includes/functions.php:3619
    2. wp_nonce_ays()
      wp-includes/pluggable.php:1293
    3. check_admin_referer()
      wp-admin/network/user-new.php:34

    About the invalid user-ID, I edit the user on the network so I’m sure it exists there. Query monitor gives the following error:

    1. wp_die()
      wp-admin/user-edit.php:27

    Both files and functions look okay and are up-to-date with the latest WordPress version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.