Title: Uncaught ReferenceError: PwpJsVars is not defined
Last modified: September 15, 2018

---

# Uncaught ReferenceError: PwpJsVars is not defined

 *  [Mayeenul Islam](https://wordpress.org/support/users/wzislam/)
 * (@wzislam)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-pwpjsvars-is-not-defined/)
 * Hello Nico Martin
    Thank you for the awesome plugin. Loved it.
 * Just activated today in one of my sites, and suddenly found that Bootstrap menu
   is not working. With browser console open found the following JS error:
 * > Uncaught ReferenceError: PwpJsVars is not defined
 * Screenshot:
    [http://prntscr.com/kuqsmc](http://prntscr.com/kuqsmc)
 * With this blocking major site feature, I cannot continue to activate it just 
   now. Looking for an urgent fix, if it actually persists.
    I’m also a plugin developer.
   Would love to assist you to debug more if you need any.

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

 *  Plugin Author [Nico Martin](https://wordpress.org/support/users/nico_martin/)
 * (@nico_martin)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-pwpjsvars-is-not-defined/#post-10693731)
 * Hi Mayeenul
 * Hmm… That’s strange.
    `PwpJsVars` is a JS-object that should be set right before
   the main script. Its included using `wp_add_inline_script` with the correct handle.
   According to your screenshot the error occured in `?f=wp-content/plugin.../wp-
   embed.min.js`. Could you provide the full path to this script?
 * Or maybe the URL to your site so I can have a look?
 * Kind regards,
    Nico
 *  Thread Starter [Mayeenul Islam](https://wordpress.org/support/users/wzislam/)
 * (@wzislam)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-pwpjsvars-is-not-defined/#post-10703514)
 * Hi [@nico_martin](https://wordpress.org/support/users/nico_martin/), can we be
   on a chat channel, probably Slack, or something, so we can both be online, and
   I can enable the plugin for your R&D?
 * As because it’s prohibiting the default functionality of the menu, I cannot activate
   the plugin for unlimited time, you know.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/progressive-wp_8bd9c3.svg)
 * [Progressive WordPress (PWA)](https://wordpress.org/plugins/progressive-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/progressive-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/progressive-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/progressive-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/progressive-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/progressive-wp/reviews/)

## Tags

 * [Uncaught ReferenceError](https://wordpress.org/support/topic-tag/uncaught-referenceerror/)

 * 2 replies
 * 2 participants
 * Last reply from: [Mayeenul Islam](https://wordpress.org/support/users/wzislam/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/uncaught-referenceerror-pwpjsvars-is-not-defined/#post-10703514)
 * Status: not resolved