Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.
<br /> <b>Warning</b>: sprintf(): Too few arguments in <b>/www/doc/book.staffito
hello,
I have problem. If somebody send message, then jomsocial send email to user with this message:
<br /> <b>Warning</b>: sprintf(): Too few arguments in <b>/www/doc/book.staffito.com/www/libraries/src/Language/Text.php</b> on line <b>315</b><br />
Check attached file.
Can you help me?
Thanks jan
Thank you for contacting us.
Issue is caused by your language file.
In Czech you have:
COM_COMMUNITY_EMAIL_INBOX_SENT = Ahoj {target},\n\n{actor} vám právě poslal(a) zprávu.\n\nNázev:\n%1$s\n\n%2$s\n\n\n\nPřečtěte si novou zprávu:\n\n<a href="_QQQ_{url}_QQQ_">{url}</a>\n\n\nKrásný den!
While in English:
COM_COMMUNITY_EMAIL_INBOX_SENT = Hi {target},\n\n{actor} just sent you a new message.\n\n%1$s\n\n\n\nYou can also read the new message on the site here:\n\n<a href="_QQQ_{url}_QQQ_">{url}</a>\n\n\nHave a nice day!
Note the difference - in Czech you have too many placeholders (arguments): %2$s. Just remove it.
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you
- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.
- Use the "Thank You" feature on any post that helped you