Title: Script not found error
Last modified: February 19, 2018

---

# Script not found error

 *  [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/script-not-found-error/)
 * The error_log in the WP root folder has the following, but only with W3TC JS 
   minify on.
    There is nothing in the minify.log file. I have tried to track down
   where this is by searching all static and cache js file, but no empty script 
   tags. The error is: [19-Feb-2018 11:55:05 UTC] script not found:<script> </script
   > With JS minify off, there is no error written. This is using Auto minify mode.
   Before head is set to blocking. After body set to defer, ascync or blocking its
   the same. Inline minification makes no difference if on or off. Is this a WF 
   bug? LenW

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

 *  Plugin Contributor [Marko Vasiljevic](https://wordpress.org/support/users/vmarko/)
 * (@vmarko)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10465453)
 * “Hello, First of all, sorry for the late response and the issue you are having
   
   The issue might be in the code of WP theme. You’ll also want to check to make
   sure any semicolons aren’t missed at the end of a statement – missing those can
   often cause minifying to go all wrong. Sometimes minifying requires fine-tuning.
   Navigate to Performance ->Minify. select manual. You should minify JS manually
   by clicking on add Script in performance>minify page and adding script URL. At
   manual mode – select async methods also note its a complex work and often requires
   manual coding, so our pro services may help Please make sure to update W3TC to
   the latest version as a lot of fixes have been applied. If the issue is resolved
   after the update, please give us a feedback and we can close this topic.
 * Best Regards,
 * Marko”
 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10465843)
 * Marko
 * The error happens with both the Divi theme and a Themler generated theme.
    Wordpress
   and all plugins are up to date, as of today. W3TC version is 0.9.7. I have tried
   manual mode in the past, its a lot of hassle to do and gt right.
 * The error is still being written, although W3TC is still set in auto mode for
   minify.
    I don’t really want to have to be setting minify manually for lots of
   websites, I need it to work in auto mode.
 * LenW
 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10465853)
 * Did you enable the option `Inline JS minification` in Minify?
 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10466346)
 * Answer to your question is yes.
 * Settings in minify are:
 * HTML minify settings:
    Enable, ticked Inline CSS, ticked Inline JS, ticked Dont
   minify feeds, unticked Line breakcremoval, unticked
 * JS Settings:
    Enable, ticked Before head, default blocking After body, non-blocking
   using defer Minify selected, not combine only Other 3 boxes unchecked
 * CSS
    Enable, ticked Combine only, preserve comments removal, line break removal,
   all unchecked [@import](https://wordpress.org/support/users/import/) handling,
   none HTPP/2 push enable, unchecked.
 * Nothing in the boxes below for this website, I do have for Woocommerce sites.
 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10466634)
 * There might be an issue with an inline script. Please disable that option and
   check if the error still pops up.
 *  Thread Starter [lencw](https://wordpress.org/support/users/lencw/)
 * (@lencw)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10467546)
 * Done it, and its not that.
    What I think might be a clue is that if after the
   cache is clears, i load a page, i get the error. If i go to another page, then
   back to the initial page, no error for the second visit to that initial page.
   If I turn off JS minify, don’t get the error.
 *  Plugin Contributor [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * (@gidomanders)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10468095)
 * That makes it even more weird, but I’ll discuss this with the team and get back
   to you ASAP.

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

The topic ‘Script not found error’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [gidomanders](https://wordpress.org/support/users/gidomanders/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/script-not-found-error/#post-10468095)
 * Status: not resolved