Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Warning message after approving account? how to fix?

  • @protocolil

    Participant

    Hi,
    when someone register to our site, and click on approving link, he got the message that account created but below that I got the message:

    Warning: printf(): Too few arguments in /home/public_html/protocol/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/activate.php on line 43

    how to fix it?

Viewing 6 replies - 1 through 6 (of 6 total)
  • @danbp

    Participant

    Hi @protocolil,

    The argument (%s) on line 43 is related to wp_login_url( bp_get_root_domain()
    Have you modified this file (ie. hardcoded another message) or do you use a custom function related to this ?

    @protocolil

    Participant

    Hi @danbp, no I just modified the language via poedit. wha I have to to? (note: I am not developer, so if you can tell in the language i will understand) 🙂
    Thank you.

    @danbp

    Participant

    Check your po file, you may have omitted the %s in the translated string.

    The original string:
    Your account was activated successfully! You can now <a href="%s">log in</a> with the username and password you provided when you signed up.

    Which language do you use ?

    @protocolil

    Participant

    Hi @danbp,

    no language… I mean I not developer so if you can explain in simple language that I understand 🙂

    I see not the po file, what you write here is the same in the file..

    but in the Hebrew version I see more line (second) that also wrote “click here to log in” with the link,
    maybe this is the problem? I delete this.

    @danbp

    Participant

    i checked the hebrew translation available on GlotPress. It seems to me it is correctly translated.

    Copy/pasting RTL strings doesn’t work here… anyway here what i get (href is LTR here – but is ok in poEdit)
    החשבון שלך הופעל בהצלחה! אתה עכשיו יכול <a href="%s">להתחבר</a> עם שם המשתמש והסיסמא שהכנסת כשנרשמת לאתר.

    @protocolil

    Participant

    Yes , I just do it.. it seem’s ok 🙂

    Thank you,
    Have a nice day.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Warning message after approving account? how to fix?’ is closed to new replies.
Skip to toolbar