Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] User error mention

  • @josefabiosan

    Participant

    on the page of the User to make a post mentioning User (clicks the button mension this User) presenting this error on the screen. message appears:
    Warning: sprintf() [function.sprintf]: Too few arguments in
    …/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php on line 95

Viewing 18 replies - 1 through 18 (of 18 total)
  • @mercime

    Participant

    WP/BP versions? What theme are you using? What plugins are activated in your install?

    @josefabiosan

    Participant

    The WP version is 3.4.2 / The theme is custom COMMUNITY / Plugins are:
    Akismet
    bbPress
    BP Display Name
    BP Labs
    BP Show Friends
    BuddyMobile
    BuddyPress
    BuddyPress Activity Plus
    BuddyPress Media Component
    BuddyShare
    WP Maintenance Mode
    This error is from the beginning of the installation only with BuddyPress and theme.
    thank you

    @modemlooper

    Moderator

    It could be that Community theme has bad code, can you switch to bp-default theme and check?

    @josefabiosan

    Participant

    I activated the default theme and let only the bbpress plugin, Akismet and BuddyPress enabled. still shows the error. I tested with another User and nothing new.

    @modemlooper

    Moderator

    Did you install WordPress with a one click type installer from your host or did you upload and create the database yourself?

    When you click mention does it go to the post form and put the user name into post form or does the error just show?

    Does this happen with or without maintenance mode on?

    @josefabiosan

    Participant

    I’ll back up and reinstall with the download. Org because the current installation was by Softaculous.

    the error is on the profile page when you click send message publishes mention or usurer. @ name

    In normal mode, maintenance mode plugin deactivated.
    thank you

    @mercime

    Participant

    == I’ll back up and reinstall with the download. Org because the current installation was by Softaculous. ==

    @josefabiosan Good decision. Webhost installation scripts are not kosher with BP per https://codex.buddypress.org/getting-started/before-installing/#system-and-server-requirements

    @josefabiosan

    Participant

    Guys, solved with the installation manual. At Softaculous really showed error. Thank you.

    @josefabiosan

    Participant

    Hello everyone. again with this error mention User. It is famous with the installation in 5 minutes. It happens when the User is marked to receive notification via email if someone mention your User. If you uncheck the option to receive notification via email if someone mention, the error does not occur.

    @marcio-batista

    Participant

    Hello, same problem here.
    How to fix?

    Error on line 95:
    “Warning: sprintf() [function.sprintf]: Too few arguments in /home/ninstitu/public_html/trevinhodasorte.com.br/comunidade/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php on line 95”

    The action itself works, but why the error appears?
    Why the error?
    Remove the notification is not enough, everyone needs to do, much work. It is no longer so easy to fix?
    See the full archive here: http://pastebin.com/R4P5DGbg

    Thankful!

    @marcio-batista

    Participant

    User error mention corrected!
    “Warning: sprintf() [function.sprintf]: Too few arguments in
    …/wp-content/plugins/buddypress/bp-activity/bp-activity-notifications.php on line 95”

    The problem is that the error is the translation.
    1= To check, remove translation of his country.
    2= Back BuddyPress original translation.
    3=Try a mention again.
    4= If it does not error, returns translation of his country.
    5= Look at this line in the file. Po translation: “%1$s mentioned you in an update:\n\n\”%2$s\”\n\nTo view and respond to the message, log in and visit: %3$s\n\n———————”
    Compare with the translation of his country. Mine was wrong. And now shines BuddyPress!

    Greetings to all!

    @r-a-y

    Keymaster

    @marcio-batista – Which translation is causing this problem?

    @marcio-batista

    Participant

    In my case Portuguese.

    @r-a-y

    Keymaster

    Thanks for replying, Marcio.

    Pinging @djpaul so he is aware of this as he’s the de-facto translation wrangler!

    @joelteixeira

    Participant

    Guys, the problem is exactly where @marcio-batista stated.

    You can download the fixed pt_BR translation file on my website:

    http://tecnotara.com/wp-content/languages/buddypress-pt_BR.mo
    http://tecnotara.com/wp-content/languages/buddypress-pt_BR.po

    I fixed the translation on GlotPress also, but it’s waiting approval:

    https://translate.wordpress.org/projects/buddypress/dev/pt-br/default

    @josefabiosan

    Participant

    perfect, everything working now. Thank you all and @marcio-Baptist

    @josefabiosan

    Participant

    Thanks @joelteixeira for providing the translation files. I downloaded the files and everything is working.

    @pedromaia-1

    Participant

    @joelteixeira The files are no more available. I can fix the .po file myself, but I didn’t understand what’s wrong with it. The translation seems to be correct. But I still get the error.

Viewing 18 replies - 1 through 18 (of 18 total)
  • The topic ‘[Resolved] User error mention’ is closed to new replies.
Skip to toolbar