Support » Plugin: BuddyPress Registration Options » Notices on activation screen

  • Resolved Nitroweb

    (@spyrosvl)


    Hi,

    On activation screen, for example https://mydomain.com/activate/LxolWLuUv9cPoTX98zy4x6SNfM8ct44T/
    I get:

    Notice: Trying to get property of non-object in /home/.../public_html/wp-content/plugins/bp-registration-options/includes/core.php on line 22

    Which is true, since the user is not logged in yet. Line 19 should be:

    if ( $user_info && ( $activate_screen || bp_registration_get_moderation_status( $user ) ) ) {

    or get the user by activation code on this screen.

    Best regards,
    Spyros

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notices on activation screen’ is closed to new replies.