Support » Plugin: WooCommerce » Formidable / WooCommerce conflict

  • Jim


    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


    The error only occurs when Formidable is enabled.

    Any advice is appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author James Koster


    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.

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Formidable / WooCommerce conflict’ is closed to new replies.