Support » Fixing WordPress » 500 Internal Server Error when following link in email invite

Viewing 8 replies - 1 through 8 (of 8 total)
  • 500 – Internal server error is usually a configuration error on the server. Common causes are things in the .htaccess file, redirects, or file/folder permissions being incorrect on the server. You can usually get your hosting tech support to track it down and fix it for free.

    As noted above this is a IIS/Windows site not an apache site.
    I am the host and have full access to the server.

    Moderator kmessinger


    Does the confirmation url look like this,

    No. I’ve found the code that generates the link, it contains this code section it:
    While the $newuser_key variable does work (in that user B does get the access configured by user A) – user B also gets that internal server error.

    I also noticed in testing that the “key” code is not uniquely generated each time. If I add a user, delete the user then add them again they get the exact same link. I don’t if that’s an issue or not, I just expected to see a different key at the end of the url path.

    Anyway, here is a sample of what is sent on behalf of user A to user B for them to click:

    You’ve been invited to join ‘Kevin Gagel's blog’ at with the role of contributor.

    Please click the following link to confirm the invite:
    —End Paste—

    Moderator kmessinger


    What is generating the invitation to join? WP sends a message like this

    Username: tester
    Password: 12345

    WordPress is generating the email using /wp-admin/user-new.php file. The specific code is located within the else statement of line 72 which concludes at line 84.
    Here is the specific code:
    [Code moderated as per the Forum Rules. Please use the pastebin]



    Was this ever resolved? I’m experiencing the same problem.



    Forum Moderator

    @webmom: Please post a new topic.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘500 Internal Server Error when following link in email invite’ is closed to new replies.