Title: Uncaught ValueError: Unknown format specifier &#8220;S&#8221;
Last modified: March 10, 2025

---

# Uncaught ValueError: Unknown format specifier “S”

 *  Resolved [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/)
 * Hi，these days I find out that the MINIFY setting panel shows fatal error:[https://picshack.net/ib/iWyibcNDr7](https://picshack.net/ib/iWyibcNDr7),
   same error in general setting: [https://picshack.net/ib/OEL4Dn8ihO](https://picshack.net/ib/OEL4Dn8ihO)
 * Fatal error email: [https://picshack.net/ib/wJr38CsK1S](https://picshack.net/ib/wJr38CsK1S)
 * I tried restart server, deactivaed all other plugins, same issue. Use php8.1.
   Other sites in the same server don’t have this issue, same W3TC plugin version.
    -  This topic was modified 1 year, 3 months ago by [Diiamo](https://wordpress.org/support/users/luislu/).

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18354606)
 * I followed the advice in this post, but the problem has not been resolved [https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/](https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/)
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18355261)
 * Hello [@luislu](https://wordpress.org/support/users/luislu/)
 * Thank you for reaching out and I am happy to help!
   Can you please disable minify
   in Perfirmance>General settings, save all settings and purge the cache and see
   if the issue persists?If the issue is gone, re-enable minify, and disable the
   settings in Performance>minify one by one (HTML minify, JS minify, CSS minify)
   and see which one might be causing the issue.Make sure to save all settings and
   purge the cache after each option is disabled.Thanks!
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18355269)
 * The minify setting is not shown in the Performance>General settings: [https://picshack.net/ib/OEL4Dn8ihO](https://picshack.net/ib/OEL4Dn8ihO),
   is there any other way to disable minify function?
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18357714)
 * Hello [@luislu](https://wordpress.org/support/users/luislu/)
 * Well this is awkward!
 * Can you please share how did you enable Minify in the first place?
   Please go 
   to Performance>General settings, and scroll down to the Import/Export area
 * Download the .json file and open that file with any text editor. Find `"minify.
   enabled": true,` and rename it to `"minify.enabled": false,` and save the text
   file
 * Upload that file to in the same Imort/export area and let me know if Minify is
   disabled
 * Thanks!
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18357742)
 * Hi,
 * I enabled it on the general setting before, the plugin was working well. Then,
   I upgraded Nginx from 1.4.2 to 1.6.3. One day, I found that W3TC had this fatal
   error. I don’t know why.
 * [https://picshack.net/ib/OEL4Dn8ihO](https://picshack.net/ib/OEL4Dn8ihO) This
   is the general setting page now. It only shows the page cache setting; all other
   functions and settings are gone. I cannot access the Import/Export area or the
   Minify area.
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18357776)
 * I only enabled HTML minify function, since I have been using perfmatters to minify
   JS and CSS.
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18357822)
 * Hi，it shows that the MINIFY function is already disabled in MINIFY setting panel:
   [https://picshack.net/ib/gQrkq7f24T](https://picshack.net/ib/gQrkq7f24T)
    -  This reply was modified 1 year, 2 months ago by [Diiamo](https://wordpress.org/support/users/luislu/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18358982)
 * Hello [@luislu](https://wordpress.org/support/users/luislu/)
 * Thank you for your feedback.
   Does the initial issue persists now that the Minify
   is disabled in the W3 Total Cache?Is there a chance you would be willing to completly
   rmeove and re-install the W3 Total Cache and let me know if the problem persists?
   Thanks!
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18358998)
 * Hi,
 * No, this fatal issue doesn’t fixed.
 * I followed the advice in this post to remove W3TC completely and re-install, 
   but the problem persists. [https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/](https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/)
    -  This reply was modified 1 year, 2 months ago by [Diiamo](https://wordpress.org/support/users/luislu/).
 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18360786)
 * Hello [@luislu](https://wordpress.org/support/users/luislu/)
 * Thank you for your feedback.
   Can you please let me know if you can disable the
   Browser Cache in the general settings, save all settings and purge the cache 
   and let me know if the problem persists?Also, any chance that you can share the
   website URL?
 * Thanks!
 *  Thread Starter [Diiamo](https://wordpress.org/support/users/luislu/)
 * (@luislu)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18360883)
 * Hi,
 * Except for MINIFY, all other functions can be used normally.
 * I followed this post: [https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/](https://www.boldgrid.com/support/question/w3-total-cache-fatal-error/),
   but it doesn’t help. Yesterday, I deactivated the plugin directly, removed it,
   and then re-installed it. After that, this issue is fixed now!
 * Thank you very much.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Uncaught ValueError: Unknown format specifier “S”’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Diiamo](https://wordpress.org/support/users/luislu/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/uncaught-valueerror-unknown-format-specifier-s-2/#post-18360883)
 * Status: resolved