Title: Uncaught ReferenceError: ViewPreview is not defined
Last modified: December 7, 2023

---

# Uncaught ReferenceError: ViewPreview is not defined

 *  Resolved [nanny7](https://wordpress.org/support/users/nanny7/)
 * (@nanny7)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/)
 * Hi there is an error
 *     <anonymous> [https://pau1-powerpoint.officeapps.live.com/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en-US&rs=en-US&WOPISrc=http://pau1-view-wopi.wopi.online.office.net:808/oh/wopi/files/@/wFileId?wFileId=https%3A%2F%2Fwww%2Eaustralianfoundryinstitute%2Ecom%2Eau%3A443%2Fvooneboa%2FJohnCampbell%2DBifilms%2Dfor%2DBeginners%2Epptx&access_token_ttl=0&hid=3ed459c3-adfe-4306-b774-5ab9060cfbdd:15](https://pau1-powerpoint.officeapps.live.com/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en-US&rs=en-US&WOPISrc=http://pau1-view-wopi.wopi.online.office.net:808/oh/wopi/files/@/wFileId?wFileId=https%3A%2F%2Fwww%2Eaustralianfoundryinstitute%2Ecom%2Eau%3A443%2Fvooneboa%2FJohnCampbell%2DBifilms%2Dfor%2DBeginners%2Epptx&access_token_ttl=0&hid=3ed459c3-adfe-4306-b774-5ab9060cfbdd:15)
 *     <anonymous> [https://pau1-powerpoint.officeapps.live.com/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en-US&rs=en-US&WOPISrc=http://pau1-view-wopi.wopi.online.office.net:808/oh/wopi/files/@/wFileId?wFileId=https%3A%2F%2Fwww%2Eaustralianfoundryinstitute%2Ecom%2Eau%3A443%2Fvooneboa%2FJohnCampbell%2DBifilms%2Dfor%2DBeginners%2Epptx&access_token_ttl=0&hid=3ed459c3-adfe-4306-b774-5ab9060cfbdd:15](https://pau1-powerpoint.officeapps.live.com/p/PowerPointFrame.aspx?PowerPointView=ChromelessView&Embed=1&ui=en-US&rs=en-US&WOPISrc=http://pau1-view-wopi.wopi.online.office.net:808/oh/wopi/files/@/wFileId?wFileId=https%3A%2F%2Fwww%2Eaustralianfoundryinstitute%2Ecom%2Eau%3A443%2Fvooneboa%2FJohnCampbell%2DBifilms%2Dfor%2DBeginners%2Epptx&access_token_ttl=0&hid=3ed459c3-adfe-4306-b774-5ab9060cfbdd:15)
   
   PowerPointFrame.aspx:15:32
 * Is this part of the plugin?
 * Thanks

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

 *  Plugin Support [Amit Paul](https://wordpress.org/support/users/paulamit/)
 * (@paulamit)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17259691)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/), 
   Greetings. Hope you’re
   doing good. Would you kindly share us with the page link where from you got this
   error? So that we can check and assist you easily with that. Looking forward 
   to hearing from you soon. Thank you!
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17265605)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/),
   Hope you’re doing 
   well.We haven’t received any updates from you since then. We’re reaching out 
   to inquire whether your issue has been resolved or if you need any further assistance.
   If you require additional help, please provide us with the URL where you encountered
   the error.
 * Please let us know the update.
   Thank you
 *  Thread Starter [nanny7](https://wordpress.org/support/users/nanny7/)
 * (@nanny7)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17266830)
 * Hi sorry it is here [https://www.australianfoundryinstitute.com.au/conferences/57th-annual-national-conference/](https://www.australianfoundryinstitute.com.au/conferences/57th-annual-national-conference/)
   and you view page source console.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17269499)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/),
 * Greetings. 
   Thanks for providing the page URL. We will recheck it with our DEV
   team and let you know the update soon. We appreciate your patience.Thank you.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17271549)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/),
 * Greetings. Hope you’re doing well.
   We’ve investigated your query with our DEV
   team, and it appears that the issue you’re encountering is not occurring from
   our plugin. If the issue were related to EmbedPress, it should include an **EmbedPress
   URL**. Please recheck by deactivating EmbedPress. If the issue persists, it might
   be a problem with another third-party plugin. **However, if the issue goes away,
   you can confirm that the problem is with EmbedPress.**Please let us know the 
   update after the test.Thank you.
 *  Thread Starter [nanny7](https://wordpress.org/support/users/nanny7/)
 * (@nanny7)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17272935)
 * Hi it is this url [embedpress]https://www.australianfoundryinstitute.com.au/vooneboa/
   JohnCampbell-Bifilms-for-Beginners.pptx[/embedpress]
 * When I disable the plugin the error goes away and when I enable it again the 
   error comes back.
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17274189)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/),
 * Greetings.
   Thank you for providing the URL. We’ve rechecked it with another third-
   party embedded plugin, and it appears that the issue persists with the other 
   plugin as well. You can verify this here: [https://d.pr/v/9Ih1oZ](https://d.pr/v/9Ih1oZ).
   For your information, the issue is originating from Microsoft, and it won’t cause
   any problems on your site.Hope you understand.Thank you.
 *  Thread Starter [nanny7](https://wordpress.org/support/users/nanny7/)
 * (@nanny7)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17279212)
 * Hi I am also getting this error in the WordPress error log is this from the plugin?
 * `.embed_usage_log' doesn't exist for query SHOW FULL COLUMNS FROM ``embed_usage_log`
   made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.
   php'), include('wp-includes/theme-compat/embed.php'), get_template_part, locate_template,
   load_template, require('wp-includes/theme-compat/embed-content.php'), do_action('
   embed_content'), WP_Hook->do_action, WP_Hook->apply_filters, ep_track_embed_usage
 *  Plugin Support [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * (@ashikurwp)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17283620)
 * Hi [@nanny7](https://wordpress.org/support/users/nanny7/),
 * Hope you’re doing well.
   Thanks for providing the details. The error you mentioned
   is not actually an error. We’ve used that hook to identify whether the embedded
   content is working perfectly or not. You can simply ignore it; it won’t cause
   any issues to your site. However, we will try to improve that soon as well.Thank
   you.

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

The topic ‘Uncaught ReferenceError: ViewPreview is not defined’ is closed to new
replies.

 * ![](https://ps.w.org/embedpress/assets/icon-128x128.gif?rev=3419899)
 * [EmbedPress – PDF Embedder, Embed PDF viewer, YouTube Videos, 3D FlipBook, Social feeds & more](https://wordpress.org/plugins/embedpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/embedpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/embedpress/)
 * [Active Topics](https://wordpress.org/support/plugin/embedpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/embedpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/embedpress/reviews/)

 * 14 replies
 * 3 participants
 * Last reply from: [Ashikur Rahman](https://wordpress.org/support/users/ashikurwp/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-viewpreview-is-not-defined/#post-17283620)
 * Status: resolved