This topic has 4 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #175741
     dlance8888
    Participant

    Keep running into this in the JS consul when trying to had a variable product in woo commerce. Tried a few fixes. Not sure how to go about this, little direction would be great!

     

    [Log] Error: Option ‘ajax’ is not allowed for Select2 when attached to a <select> element. (wc-enhanced-select.min.js, line 1)

    (anonymous function) — select2.min.js:1312

    each — load-scripts.php:2:2886

    prepareOpts — select2.min.js:1310:126

    prepareOpts — select2.min.js:1966

    init — select2.min.js:1251

    (anonymous function) — select2.min.js:2257:324

    each — load-scripts.php:2:2886

    each — load-scripts.php:2:851

    select2 — select2.min.js:2255

    (anonymous function) — wc-enhanced-select.min.js:1:2257

    each — load-scripts.php:2:2886

    each — load-scripts.php:2:851

    (anonymous function) — wc-enhanced-select.min.js:1:1533

    dispatch — load-scripts.php:3:12450

    handle — load-scripts.php:3:9179

    trigger — load-scripts.php:3:11579

    trigger — load-scripts.php:9:8280

    (anonymous function) — load-scripts.php:3:18999

    each — load-scripts.php:2:2886

    each — load-scripts.php:2:851

    trigger — load-scripts.php:3:18972

    (anonymous function) — wc-enhanced-select.min.js:1:4078

    i — load-scripts.php:2:27455

    fireWith — load-scripts.php:2:28215

    ready — load-scripts.php:2:30018

    K — load-scripts.php:2:30374

     

    #175795
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #175836
     Radu
    Moderator

    Hi,

    Looked at all your products cannot see one to be variable, anyway tried on my local install viewing a variable product gallery adding to cart.. no error, maybe on your end it’s caused by some plugin ?

    De-activate all plugins and child theme, test if the error appears, then enable back one by one and check, until you find the plugin that causes that.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #175875
     dlance8888
    Participant

    Looks like it was one of the buddy press plugins. Not using buddy press at all so I just unplugged;)

    Thanks for the help!

    #176102
     Radu
    Moderator

    Hi,

    Ok then

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?