×
Kunena 5.1.18 Released (30 Jun 2020)

The Kunena team has announce the arrival of Kunena 5.1.18 [K 5.1.18] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1.

Solved [K.5.0.RC5] Bug: PHP Warning: sprintf(): Too few arguments

More
3 years 11 months ago - 3 years 11 months ago #1 by ssh
PHP Warning: sprintf(): Too few arguments in /home/user/public_html/libraries/joomla/language/text.php on line 312

How to reproduce the error?
1. Enable Joomla Debug System Backend->Global Configuration->System->Debug Settings
1. Create a new post and insert the character "%" into the message content.
2. Go to example.com/forum/index

You will see something like this:

Attachments:
Last edit: 3 years 11 months ago by ssh.

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

More
3 years 11 months ago #2 by 810
already fixed.
The following user(s) said Thank You: ssh

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

More
3 years 11 months ago #3 by ssh

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

More
3 years 11 months ago #4 by 810

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

More
3 years 11 months ago #5 by ssh

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

More
3 years 11 months ago #6 by ssh
Confirmed, the PHP Warning: sprintf(): Too few arguments has been solved.

After the fix, I got these in my error_log file:

[25-Jul-2016 04:16:15 UTC] PHP Notice: Undefined property: KunenaViewTopics::$caching in /home/user/public_html/components/com_kunena/views/topics/view.feed.php on line 34
[25-Jul-2016 04:27:27 UTC] PHP Warning: file_get_contents(/home/user/public_html/cache/com_kunena/bfaff15c0dd1d2ffd8d7537ee1012d34-cache-com_kunena-699c2366bc3db5db522676198e581142.php): failed to open stream: No such file or directory in /home/user/public_html/libraries/joomla/cache/storage/file.php on line 135

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

More
3 years 11 months ago #7 by ssh
I will let you know in a couple of hours if the problem persist or if it was only a temp cache issue.

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

More
3 years 11 months ago #8 by ssh
Until now no more errors

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.258 seconds