WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Formidable / WooCommerce conflict (3 posts)

  1. Jim
    Member
    Posted 1 year ago #

    I see the following error when editing Products.

    I receive an Uncaught TypeError: Object [object Object] has no method ‘chosen’ in write-panels.min.js; details follow.
    (anonymous function) load-scripts.php:2

    l
    c.fireWith
    v.extend.ready
    A

    The error only occurs when Formidable is enabled.

    Any advice is appreciated.

    http://wordpress.org/extend/plugins/woocommerce/

  2. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    Deactivate Formidable ;-)

    Seriously, that error is because the 'chosen' script is trying to be used but apparently isn't loaded.

    There must be something in Formidable that is dequeueing that script on WooCommerce pages. It shouldn't. Probably best to approach them about this.

  3. sswells
    Member
    Posted 1 year ago #

    It looks like the problem is that both plugins are registering the same script. Formidable calls it "jquery-chosen" and WooCommerce calls it "chosen." There must be a feature in WordPress that unregisters one of those scripts, making it unavailable when WooCommerce trys to enqueue "chosen" later. When I change the naming in Formidable to match the naming in WooCommerce, the Formidable version is always used.

    How would you like to solve the problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic