• Resolved procomit

    (@procomit)


    Hi there,

    I am needing to set up product filters on this website but to do so I need to set up attributes for the products. However when I go on to the attributes tab on a product page and click add, I just get a spinning cursor that won’t go away so I can’t actually do anything.

    I have tried to find an answer on existing forums and I have tried deactivating plugins etc but nothing works.

    Please see details below –

    select2.min.js:61 Uncaught Error: Option ‘ajax’ is not allowed for Select2 when attached to a <select> element.
    at String.<anonymous> (select2.min.js:61)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jq&load[]=uery-ui-button,jquery-ui-position,jquery-ui-dialog,utils,heartbeat,autosave,jquery-ui-sortable,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,backbone,wp-util,wp-backbone,media-models,plupload&ver=4.8.2:2)
    at d.prepareOpts (select2.min.js:61)
    at d.prepareOpts (select2.min.js:61)
    at d.init (select2.min.js:61)
    at HTMLSelectElement.<anonymous> (select2.min.js:64)
    at Function.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jq&load[]=uery-ui-button,jquery-ui-position,jquery-ui-dialog,utils,heartbeat,autosave,jquery-ui-sortable,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,backbone,wp-util,wp-backbone,media-models,plupload&ver=4.8.2:2)
    at a.fn.init.each (load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,underscore,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-draggable,jq&load[]=uery-ui-button,jquery-ui-position,jquery-ui-dialog,utils,heartbeat,autosave,jquery-ui-sortable,jquery-ui-menu,wp-a11y,jquery-ui-&load[]=autocomplete,backbone,wp-util,wp-backbone,media-models,plupload&ver=4.8.2:2)
    at a.fn.init.a.fn.select2 (select2.min.js:64)

    Thank you in advance

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi there!

    It’s either your theme / another plugin loading the old Select2 v3

    You can read more about that error here: https://www.ads-software.com/support/topic/3-0-error-option-ajax-is-not-allowed-for-select2/

    I recommend you switch to a default WordPress theme, such as Storefront, to see if the problem still exists. If the problem goes away, you’ll have to contact your theme developers about the issue. If the problem persists in a default theme, the next step is to disable all of your plugins, except for WooCommerce, and see if that resolves the trouble. If it does, then please re-enable your features until you find the one causing the interference.

    Cheers!

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Howdy!

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please start a new thread.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Product attributes not working’ is closed to new replies.