• Resolved p0werpeti

    (@p0werpeti)


    Hello,

    I have install the plugin “Organic Builder Widgets” which works very good. But after activating the plugin I have problems with the javascript and get the error:

    “Uncaught ReferenceError: wp is not defined” at organic-widgets-public.js?ver=1.2.14:84

    If I check the object with “if (typeof wp != ‘undefined’)” at the plugin script, everything works fine, but that’s not the solution that I imagine.
    I hope you have a better solution for me, which is safe at plugin-updates.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Organic Themes

    (@organicthemes)

    Hi @p0werpeti,

    Thanks for bringing this to our attention. The file mentioned in your error does have a if ( typeof wp.customize != "undefined" ) { conditional check before executing the WP JS.

    Are you using the most current version of the plugin?

    We’ll look into this further on our end to see if we can reproduce the error and provide a fix for it.

    Thanks!

    Plugin Author Organic Themes

    (@organicthemes)

    Marking this as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp is not defined’ is closed to new replies.