Skip to Content Skip to Menu

Warning: sprintf() [function.sprintf]

12 years 4 months ago #202013 by larleuchem
Warning: sprintf() [function.sprintf] was created by larleuchem
Bonjour

Joomla 2.5.4
CB 1.8
CBsubs 2.0.1

During subscription,
when I use a name with ' in the name field
for exemple : l'arbre

I have this :
Warning: sprintf() [function.sprintf]: Too few arguments in ...../libraries/joomla/methods.php on line 320

Have you got any idea ?
Is it a joomla bug ?

Thanks

Please Log in or Create an account to join the conversation.

  • nant
  • nant
  • ONLINE
  • Posts: 12339
  • Thanks: 1467
  • Karma: 877
12 years 4 months ago #202036 by nant
Does this happen with english language as default language?

It could be a wrongly translated string.

Please Log in or Create an account to join the conversation.

12 years 4 months ago #202077 by larleuchem
Replied by larleuchem on topic Re: Warning: sprintf() [function.sprintf]
Thanks for your answer,
It's with French language.

How can I make something to repair that ?

Thanks

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48444
  • Thanks: 8279
  • Karma: 1443
12 years 4 months ago - 12 years 4 months ago #202094 by krileon
Replied by krileon on topic Re: Warning: sprintf() [function.sprintf]
There's a language string that's using %s (sprintf replacements) and it has 1 too many. You need to go through your language plugin and find which one is causing the problem exactly. This normally happens due to an out of date language plugin (maybe try seeing if there's an up to date French language plugin?).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 12 years 4 months ago by krileon.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum