Tiny Tiny RSS: Community

"sprintf(): Too few arguments" Warnings


PLEASE READ THIS BEFORE POSTING: Read before posting / reporting bugs

Describe the problem you’re having:
I’m finding many entries in the tt-rss error log in classes/rssutils.php:833 of:

"sprintf(): Too few arguments

  1. classes/rssutils.php(833): sprintf(=== %.4f (sec))
  2. classes/rssutils.php(190): update_rss_feed(249, 1, )
  3. update.php(209): update_daemon_common(50)"

The only part that seems to change is the rss feed ID in error line 2 for example, 249 may be 218 or 287 instead).

If possible include steps to reproduce the problem:

Not sure, just noticed the icon. I’m guessing it happens during updates.

tt-rss version (including git commit id):

18.12, commit 4e41db7ed3ce5b0219488babd460077cb9ac5d79

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Ubuntu 16.04.5
php 7.2.13
Apache 2.4.18
mysql 14.14 Distrib 5.7.24 (I know, I know, but I can’t go away from mysql since I have other software which only works with mysql).

Please provide any additional information below:

For all I know these errors/warnings were always there and are relatively harmless, but since the recent interface updates there is an icon at the top of the feeds that caught my attention about this.

e: I’m noticing that the feed IDs in the warnings are for feeds that have temporarily had errors when updating. I have to assume that’s related, but not sure if the sprintf warnings are necessary or can somehow be suppressed.


Minor error there. I’ve submitted a pull request to patch it.




Ah, that’s what I get for thinking about it too deeply…thanks.