HW Image Widget
[resolved] wp Not defined in back-end.js, results in Widgets javascript not working (4 posts)

  1. Jacotheron
    Posted 3 years ago #

    I have just upgraded to the latest version of this plugin (currently 2) and after the upgrade, the widgets page's javascript does not work. Using Firebug, I got the error:

    ReferenceError: wp is not defined
    wp-content/plugins/hw-image-widget/js/back-end.js?ver=1.6 - Line 213

    That line is: this.originalMediaLibrary = wp.media.view.MediaFrame.Select;

    When I comment out that line, there are more errors, all the same, just different line numbers.


  2. rdesk
    Posted 3 years ago #

    Same Error I had. I also upgraded to the latest version. Hopefully someone will fix this soon.

  3. Håkan Wennerberg
    Plugin Author

    Posted 3 years ago #


    First of all, thanks for feedback!

    Hopefully got it sorted in version 2.1. Please update and let me know if it works better.

  4. Jacotheron
    Posted 3 years ago #

    Hi Håkan Wennerberg

    I have just upgraded and it appears to be working correctly.
    Thank you for the quick reply and fix.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • HW Image Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.