• Resolved EGZ

    (@egz)


    When I activate the plugin its causing some conflicts. When creating a page or post, I am unable to click on most any items on the page. For instance, I can’t switch to my page builder, I can’t click on my visual tab, nor add new category, etc. It must be killing something. Its only happening where ever the PPP meta box is. Here is the error I am receiving in console when the plugin is active:

    Uncaught TypeError: jQuery(…).select2 is not a function
    m.Callbacks.j @ jquery.js?ver=1.11.3:2
    m.Callbacks.k.fireWith @ jquery.js?ver=1.11.3:2
    m.extend.ready @ jquery.js?ver=1.11.3:2
    J @ jquery.js?ver=1.11.3:2

    Any suggestions? Thanks.

    https://ww.wp.xz.cn/plugins/woocommerce-pay-per-post/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Can you give me a URL which I can take a look at?

    It sounds like either jQuery isn’t loaded, or something weird is going on.

    Thread Starter EGZ

    (@egz)

    I found this…

    “The problem you’re running into is because WooCommerce changed from chosen to select2 for their form needs in WC 2.3.
    http://develop.woothemes.com/woocommerce/tag/woocommerce-2-3/

    As a result, damn near every theme and plugin had to be updated in order to accommodate this. You’ll want to use the latest Woo, latest WordPress, latest WC Vendors, and the latest versions of all WooCommerce plugins to ensure compatibility with select2. Otherwise, yup, you’ll see errors just like this.”

    So I am wondering if your plugin needs an update to reflect those changes which would fix this?

    Let me know, thanks.

    Plugin Author Matt Pramschufer

    (@mattpramschufer)

    Hurm.. That is strange because I don’t actually use any select function for WooCommerce. To make the dropdown I simply use a standard HTML tag <select> I am wondering if there was just a coincidence with the PPP and another plugin that may have been using it.

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

The topic ‘Uncaught TypeError: jQuery(…).select2 is not a function’ is closed to new replies.