• Resolved vmajor

    (@vmajor)


    Good day, this bug that was reported a while ago is still here/is back. My log file is full of this error and it cannot be doing any good to my site performance. Please advise how to fix this ASAP

     PHP Warning:  sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php on line 854
    
    PHP Warning:  sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php on line 731

    this recurs every few milliseconds.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vmajor

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please share if you are on shared hosting? Are both Object Cache and Db Cache enabled using the Disk caching method?
    Thanks!

    Thread Starter vmajor

    (@vmajor)

    Thank you for the quick reply.

    1. Server is a dedicated VPS
    2. Both Object Cache and DB Cache are cached with Redis running on localhost

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vmajor

    Thank you for the information.
    What is the PHP version you are using? Also, does the issue persist if you purge OC and DB cache?
    Thanks!

    Thread Starter vmajor

    (@vmajor)

    PHP 7.2.24

    Yes it persisted through several cache purges. This is in this morning’s log along with system time. It only repeated 3 times today:

    [Mon Oct 12 08:03:11.940776 2020] [php7:warn] [pid 16305] [client xxx.xxx.xxx.xxx:44920] PHP Warning:  sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w3-total-cache/ObjectCache_WpObjectCache_Regular.php on line 854
    [Mon Oct 12 08:03:11.940997 2020] [php7:warn] [pid 16305] [client xxx.xxx.xxx.xxx:44920] PHP Warning:  sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w3-total-cache/PgCache_ContentGrabber.php on line 1572
    [Mon Oct 12 08:03:11.941186 2020] [php7:warn] [pid 16305] [client xxx.xxx.xxx.xxx:44920] PHP Warning:  sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w3-total-cache/DbCache_WpdbInjection_QueryCaching.php on line 731
    
    Mon Oct 12 08:20:06 UTC 2020
    • This reply was modified 4 years, 1 month ago by vmajor.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vmajor

    Thank you for the information. We need to try and replicate this.
    You mentioned that you are running on localhost? Can you please share your website URL?
    Are you using Apache or IIS?
    Thanks!

    Thread Starter vmajor

    (@vmajor)

    Sure: https://www.venn-cycling.com

    Apache.

    There is now around 60 entries in the log with the same three warnings.

    I looked up the originator IPs for the requests that caused these errors and they may in fact be attacks against your plugin which are failing because you changed the code.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @vmajor

    Thank you for the information and thank you for taking the time to report this.
    I’ve opened a Github Issue on your behalf in our Github repository.
    Please make sure to track the progress of the issue regularly and feel free to add a comment if you have more info.
    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Warning: sprintf(): Too few arguments in /var/www/html/wp-content/plugins/w’ is closed to new replies.