Forums

Undefined index: add_to_blog (4 posts)

  1. acemtp
    Member
    Posted 1 year ago #

    I have 3 "sites" for the network wordpress.

    When the user creates his account, he receives the mail, click on the link and then, it see:

    Notice: Undefined index: add_to_blog in /home/wp-includes/ms-functions.php on line 1863 Notice: Undefined index: add_to_blog in /home/wp-includes/ms-functions.php on line 1863

    After this notice, it displays the text that validate the account, I can log in with the user but in the admin part, I see that the user has not joined all sites. So result is that the user has no role for sites.

  2. The user is added to the network, NOT to a specific site. This is normal and expected behavior.

    add_to_blog sounds like a custom tweak you have going on.

  3. Andrea_r
    team pirate
    Posted 1 year ago #

    Start troubleshooting by turning off some plugins.

  4. acemtp
    Member
    Posted 1 year ago #

    If the behavior is normal, then it's ok.
    I found a plugin that auto add the new user in all sites with a predefined role.

    For the add_to_blog, i'll check which plugin added that.

    Thanks for the answers.

Topic Closed

This topic has been closed to new replies.

About this Topic