Title: PDF Embed stuck on &#8216;loading&#8217;
Last modified: November 23, 2020

---

# PDF Embed stuck on ‘loading’

 *  Resolved [emaweb1216](https://wordpress.org/support/users/emaweb1216/)
 * (@emaweb1216)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/pdf-embed-stuck-on-loading/)
 * Currently on my clients website PDFs are getting stuck at the loading stage and
   won’t show properly on the pages.
    When looking in the console log it gives this
   message regarding the plugin:
 *  “Uncaught ReferenceError: pdfjsLib is not defined
    at all-pdfemb-basic-4.6.1.
   min.js?ver=5.5.3:1 at Object.PDFEMB_NS.pdfembGetPDF (all-pdfemb-basic-4.6.1.min.
   js?ver=5.5.3:1) at HTMLAnchorElement.<anonymous> (all-pdfemb-basic-4.6.1.min.
   js?ver=5.5.3:1) at Function.each (jquery.js?ver=1.12.4-wp:1) at n.fn.init.each(
   jquery.js?ver=1.12.4-wp:1) at n.fn.init.e.fn.pdfEmbedder (all-pdfemb-basic-4.6.1.
   min.js?ver=5.5.3:1) at HTMLDocument.<anonymous> (all-pdfemb-basic-4.6.1.min.js?
   ver=5.5.3:1) at i (jquery.js?ver=1.12.4-wp:1) at Object.add [as done] (jquery.
   js?ver=1.12.4-wp:1) at n.fn.init.n.fn.ready (jquery.js?ver=1.12.4-wp:1)”
 * Any help would be greatly appreciated thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpdf-embed-stuck-on-loading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [PDFG Support](https://wordpress.org/support/users/wppdfsupport/)
 * (@wppdfsupport)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/pdf-embed-stuck-on-loading/#post-13703303)
 * Hi [@emaweb1216](https://wordpress.org/support/users/emaweb1216/),
 * There is a conflict occurring that is preventing the pdf.worker.js file from 
   being loaded on the page. The other PDF scripts are being loaded but something
   is preventing them from outputting the viewer on the page. When that particular
   error “script is not defined” has occurred in the past, it has been due to a 
   conflict—usually a GDPR plugin or Facebook pixel scripts. The best way to locate
   the issue would be to temporarily deactivate other plugins and enable them one
   at a time until the viewer fails again. This would indicate the source of the
   conflict.
 * If you have any other questions, please feel free to send an email to [contact@wp-pdf.com](https://wordpress.org/support/topic/pdf-embed-stuck-on-loading/contact@wp-pdf.com?output_format=md)
   as we may not see messages posted here to respond in a timely fashion.
 *  [John Craig](https://wordpress.org/support/users/john_m_craig/)
 * (@john_m_craig)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/pdf-embed-stuck-on-loading/#post-13807387)
 * Client site spata.co.uk has plugin PDF-Embedder and they reported it was hanging
   on page …
 * [https://www.spata.co.uk/trade/members-area/spata-standards-online/](https://www.spata.co.uk/trade/members-area/spata-standards-online/)
 * … (also on their other site bishta.co.uk) – it just shows a ‘Loading’ message.
 * So I cloned the site into Staging and surprisingly the page loaded and showed
   the PDF document…
 * [https://staging.spata.co.uk/trade/members-area/spata-standards-online/](https://staging.spata.co.uk/trade/members-area/spata-standards-online/)
 * … so I can’t find out if there is a plugin conflict as it’s working OK in Staging.
 * I thought maybe as a quick solution I’d simply clone from Staging back to Live
   BUT I did the clone and I get the same issue.
 * It’s a live site so I can’t start deactivating plugins live there.
 * One piece of information that may help is the fact that their license expired
   earlier in the week and they renewed it.
 * I know that plugin conflicts can happen and, in Staging, to deactivate them in
   turn until the faulty one works but in this case, in Staging, it already works.
 * I’ve looked at the site error logs and used the FF console and debugger but I
   can’t see any errors being flagged.
 * Any help gratefully received. …/John

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

The topic ‘PDF Embed stuck on ‘loading’’ 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/)

## Tags

 * [loading](https://wordpress.org/support/topic-tag/loading/)
 * [Stuck](https://wordpress.org/support/topic-tag/stuck/)

 * 2 replies
 * 3 participants
 * Last reply from: [John Craig](https://wordpress.org/support/users/john_m_craig/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/pdf-embed-stuck-on-loading/#post-13807387)
 * Status: resolved