Title: Cannot load script at
Last modified: December 18, 2019

---

# Cannot load script at

 *  Resolved [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/)
 * When I open the page is appearing this error:
 * Setting up fake worker failed: “Cannot load script at: [https://unilins.edu.br/wp-content/cache/autoptimize/js/autoptimize_dbc66ce0501ec7f2032b2b2e87c6765c.worker.js&#8221](https://unilins.edu.br/wp-content/cache/autoptimize/js/autoptimize_dbc66ce0501ec7f2032b2b2e87c6765c.worker.js&#8221);
 * How can I do it to solve?

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/cannot-load-script-at/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-load-script-at/page/2/?output_format=md)

 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12251918)
 * Can you try the workaround at [https://wordpress.org/support/topic/not-displaying-pdf/#post-12247977](https://wordpress.org/support/topic/not-displaying-pdf/#post-12247977)?
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12251996)
 * I made the changes and the error continues
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12252089)
 * OK, next steps:
    * does this also occur when “also aggregate inline JS” is off?*
   does this also occur when “aggregate inline JS” is off? * does this also occur
   when Autoptimize is off?
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254059)
 * All options are enabled. Anything else I can do?
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254067)
 * sure, but my question is; what happens when you turn those options off 🙂
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254107)
 * Now a message appears: “Loading…”
 * but not loading
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254157)
 * with Autoptimize off you mean?
 * in that case the problem is not with AO, so I’ll leave this for the PDF Embedder
   support staff 🙂
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254236)
 * added the following lines and enabled:
 * /wp-content/plugins/pdf-embedder/js/all-pdfemb-basic.min.js,
    /wp-content/plugins/
   pdf-embedder/js/pdfjs/pdf.min.js, /wp-content/plugins/pdf-embedder/js/pdfjs/pdf.
   worker.min.js
 * mas ainda fica “Loading…”
 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12254645)
 * Hi [@cleitonbergo](https://wordpress.org/support/users/cleitonbergo/),
 * Are you using the free version of the plugin or one of the paid versions as the
   file paths for the plugin differ between the versions. Please see the following
   for the correct paths for each: [https://wp-pdf.com/kb/using-caching-or-minifying-plugins/](https://wp-pdf.com/kb/using-caching-or-minifying-plugins/).
 * If you have taken the Autoptimize plugin entirely out of the equation, you should
   then be able to see the scripts loaded in the Network tab of the browser’s Developer
   Tools. If you don’t and/or see JS errors in the Console tab, then this would 
   indicate that there is a conflict happening somewhere else on the page or post.
   If you can post a link to the page in question, either here or by sending an 
   email to [contact@wp-pdf.com](https://wordpress.org/support/topic/cannot-load-script-at/contact@wp-pdf.com?output_format=md),
   I would be happy to take a look for you.
 * Emma
 *  [jamiebcove](https://wordpress.org/support/users/jamiebcove/)
 * (@jamiebcove)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12280262)
 * Hi there. I am having the same issue. I am using WP Rocket as my caching plugin.
 * When loading a page with an embedded PDF, I get the following error:
 * Setting up fake worker failed: “Cannot load script at: https:/{{site-root.co}}/
   wp-content/cache/min/1/wp-content/plugins/pdf-embedder/js/pdfjs/pdf-ffce05deb279eb3074982ba7a3535df3.
   worker.js”.
 * I have put the following files as exclusions in WP Rocket:
 * /wp-content/plugins/pdf-embedder/js/all-pdfemb-basic.min.js
    /wp-content/plugins/
   pdf-embedder/js/pdfjs/pdf.min.js /wp-content/plugins/pdf-embedder/js/pdfjs/pdf.
   worker.min.js
 * And I have cleared the cache for both my site and the browser.
 * Please can you advise the next steps?
 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12280375)
 * Hi [@jamiebcove](https://wordpress.org/support/users/jamiebcove/),
 * The script is still being served from the previously cached location: cache/min/
   1/wp-content/plugins/pdf-embedder/js/pdfjs/pdf-ffce05deb279eb3074982ba7a3535df3.
   worker.js. You need to delete this cached directory file so the scripts can be
   reloaded in their entirety (recommend that you save a copy as backup before deleting).
 * Make sure that you have disabled any inline / aggregate JS tools as well then
   reload the page.
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12301891)
 * greetings
 * I didn’t find the following file to delete
 * wp-content / plugins / pdf-embedder / js / pdfjs / pdf-ffce05deb279eb3074982ba7a3535df3.
   worker.js
 * I’m using the free version
 * the plugin i use is autoptimize
 * Link: [https://unilins.edu.br/vestibular-ead](https://unilins.edu.br/vestibular-ead)
 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12304806)
 * Hi [@cleitonbergo](https://wordpress.org/support/users/cleitonbergo/),
 * Your cached file is going to be identified uniquely from another site. Your cached
   file is located at: /cache/autoptimize/js/autoptimize_dbc66ce0501ec7f2032b2b2e87c6765c.
   worker.js
 * Emma
 *  Thread Starter [cleitonbergo](https://wordpress.org/support/users/cleitonbergo/)
 * (@cleitonbergo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12304927)
 * Hello,
 * I can’t find the file with this extension “worker.js”
 * This file “autoptimize_dbc66ce0501ec7f2032b2b2e87c6765c.worker.js” I did not 
   find in any “wp-content/cache/autoptimize/js” folder
 * Is there any other way to fix this problem?
 *  [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/#post-12304992)
 * cleitonbergo untick the “minify excluded CSS/ JS” option and you’ll see the original
   filenames of excluded JS/ CSS.

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/topic/cannot-load-script-at/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/cannot-load-script-at/page/2/?output_format=md)

The topic ‘Cannot load script at’ is closed to new replies.

 * ![](https://ps.w.org/pdf-embedder/assets/icon.svg?rev=3227003)
 * [PDF Embedder](https://wordpress.org/plugins/pdf-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embedder/reviews/)

 * 21 replies
 * 4 participants
 * Last reply from: [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/cannot-load-script-at/page/2/#post-12308747)
 * Status: resolved