Skip to:
Content
Pages
Categories
Search
Top
Bottom

activation email not sending after update to 2.6.2


  • veresku
    Participant

    @veresku

    Hello,

    After updating my site does not send email with activation link. I debug the new code and the function bp_get_email returns this error:
    WP_Error Object
    (
    [errors] => Array
    (
    [missing_email] => Array
    (
    [0] => bp_get_email
    )

    )

    [error_data] => Array
    (
    [missing_email] => Array
    (
    [0] => core-user-registration
    [1] => Array
    (
    [no_found_rows] => 1
    [numberposts] => 1
    [post_status] => publish
    [post_type] => bp-email
    [suppress_filters] =>
    [tax_query] => Array
    (
    [0] => Array
    (
    [field] => slug
    [taxonomy] => bp-email-type
    [terms] => core-user-registration
    )

    )

    )

    )

    )

    )

    In admin panel I can see only buddypress email but I cannot see any terms for it

    Please help me to resolve this problem

    Thank you, Tiana

Viewing 3 replies - 1 through 3 (of 3 total)

  • veresku
    Participant

    @veresku

    I looked at terms table, found term with name=’core-user-registration’ and I saw that slug is ‘383-102’


    veresku
    Participant

    @veresku

    but function bp_get_email use this code
    $args = array(
    ‘no_found_rows’ => true,
    ‘numberposts’ => 1,
    ‘post_status’ => ‘publish’,
    ‘post_type’ => bp_get_email_post_type(),
    ‘suppress_filters’ => false,

    ‘tax_query’ => array(
    array(
    ‘field’ => ‘slug’,
    ‘taxonomy’ => bp_get_email_tax_type(),
    ‘terms’ => $email_type,
    )
    ),
    );
    and searches terms by slug, in my situation $email_type = ‘core-user-registration’, but in database slug is ‘383-102’, and of course I have WP_Error.
    The question is why during creating taxonomy terms slug is broken?

    You did not say what version you update from, but when the emails were improved in v2.5, there was a bug with exactly this that hit some people – but not everyone – which we fixed in a minor release.

    First, go to wp-admin Tools > BuddyPress, and run the re-install email tool. This will delete the terms and the posts, and recreate them.

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