Title: Version 3.1.2: Uncaught error Attributes/Variations
Last modified: August 17, 2017

---

# Version 3.1.2: Uncaught error Attributes/Variations

 *  Resolved [planky](https://wordpress.org/support/users/planky/)
 * (@planky)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/version-3-1-2-uncaught-error-attributesvariations/)
 * Whenever I try to access products Attributes or Variations, it never loads (the
   loading animation never stops) and the console displays the following:
 * select2.min.js?ver=3.5.2:21 Uncaught Error: Option ‘ajax’ is not allowed for 
   Select2 when attached to a <select> element.
    at String.<anonymous> (select2.
   min.js?ver=3.5.2:21) at Function.each (load-scripts.php?c=0&load[]=jquery-core,
   jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-
   resizable,jquery-ui-sortable,undersco&load[]=re,backbone,wp-util,wp-backbone,
   media-models,plupload&ver=4.8.1:2) at d.prepareOpts (select2.min.js?ver=3.5.2:
   21) at d.prepareOpts (select2.min.js?ver=3.5.2:22) at d.init (select2.min.js?
   ver=3.5.2:21) at HTMLSelectElement.<anonymous> (select2.min.js?ver=3.5.2:22) 
   at Function.each (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,
   jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,jquery-ui-
   sortable,undersco&load[]=re,backbone,wp-util,wp-backbone,media-models,plupload&
   ver=4.8.1:2) at a.fn.init.each (load-scripts.php?c=0&load[]=jquery-core,jquery-
   migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-resizable,
   jquery-ui-sortable,undersco&load[]=re,backbone,wp-util,wp-backbone,media-models,
   plupload&ver=4.8.1:2) at a.fn.init.a.fn.select2 (select2.min.js?ver=3.5.2:22)
   at HTMLSelectElement.<anonymous> (wc-enhanced-select.min.js?ver=3.1.2:1)
 * When trying to add new products, Attributes tab will load until I click Add, 
   where it will suffer the same error.
 * Not sure when it started. Chrome version Version 60.0.3112.90.

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

 *  Thread Starter [planky](https://wordpress.org/support/users/planky/)
 * (@planky)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/version-3-1-2-uncaught-error-attributesvariations/#post-9417917)
 * 
    ### WordPress Environment ###
 * Home URL: ******************
    Site URL: ****************** WC Version: 3.1.2 
   Log Directory Writable: ✔ WP Version: 4.8.1 WP Multisite: – WP Memory Limit: 
   256 MB WP Debug Mode: – WP Cron: ✔ Language: en_NZ
 * ### Server Environment ###
 * Server Info: Apache/2.4.18 (Ubuntu)
    PHP Version: 7.0.22-0ubuntu0.16.04.1 PHP
   Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version:
   7.47.0 OpenSSL/1.0.2g
 * SUHOSIN Installed: –
    MySQL Version: 5.7.19 Max Upload Size: 8 MB Default Timezone
   is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ❌ Your server does not have the SoapClient
   class enabled – some gateway plugins which use SOAP may not work as expected.
   DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔
 * ### Database ###
 * WC Database Version: 3.1.2
    WC Database Prefix: wp_ woocommerce_sessions: ✔ woocommerce_api_keys:
   ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions:
   ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates:
   ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations:
   ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta:
   ✔
 * ### Security ###
 * Secure connection (HTTPS): ❌Your store is not using HTTPS. Learn more about 
   HTTPS and SSL Certificates.
    Hide errors from visitors: ✔
 * ### Active Plugins (10) ###
 * Admin Menu Editor: by Janis Elsts – 1.8
    Advanced Custom Fields PRO: by Elliot
   Condon – 5.4.6 Custom Contact Forms: by Taylor Lovett – 7.8.5 Nextend Accordion
   Menu: by Nextend – 9.3.4 Relevanssi: by Mikko Saari – 3.5.12 Responsive Lightbox:
   by dFactory – 1.7.2 Site Offline or Coming Soon: by wpecommerce – 1.6.6 Smart
   Slider 3: by Nextend – 3.2.4 Table of Contents Plus: by Michael Tran – 1601 WooCommerce:
   by Automattic – 3.1.2
 * ### Settings ###
 * API Enabled: ✔
    Force SSL: – Currency: NZD ($) Currency Position: left Thousand
   Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types:
   external (external) grouped (grouped) simple (simple) variable (variable)
 * Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    
   exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock)
   rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-
   5 (rated-5)
 * ### WC Pages ###
 * Shop base: #4614 – /shop/
    Basket: #4615 – /cart/ Checkout: #4616 – /checkout/
   My account: #4617 – /my-account/
 * ### Theme ###
 * Name:
    Version: – 0 is available Author URL: Child Theme: ❌ – If you are modifying
   WooCommerce on a parent theme that you did not build personally we recommend 
   using a child theme. See: How to create a child theme WooCommerce Support: ✔
 * ### Templates ###
 * Archive Template: Your theme has a woocommerce.php file
    you will not be able
   to override the woocommerce/archive-product.php custom template since woocommerce.
   php has priority over archive-product.php. This is intended to prevent display
   issues.
 * Overrides: endearing/woocommerce/single-product/short-description.php
    endearing/
   woocommerce/single-product/tabs/description.php
 * The override is just swapping the description and short descriptions.
    -  This reply was modified 8 years, 9 months ago by [planky](https://wordpress.org/support/users/planky/).
 *  Thread Starter [planky](https://wordpress.org/support/users/planky/)
 * (@planky)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/version-3-1-2-uncaught-error-attributesvariations/#post-9417956)
 * Seems WooCommerce has this issue when Advanced Custom Fields PRO (Version 5.4.6)
   is active.
 *  Thread Starter [planky](https://wordpress.org/support/users/planky/)
 * (@planky)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/version-3-1-2-uncaught-error-attributesvariations/#post-9418004)
 * And I just found that ACF hadn’t been updating due to a license issue. I’ve now
   updated it and WooCommerce is working properly

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

The topic ‘Version 3.1.2: Uncaught error Attributes/Variations’ is closed to new
replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [attributes](https://wordpress.org/support/topic-tag/attributes/)
 * [chrome](https://wordpress.org/support/topic-tag/chrome/)
 * [uncaught error](https://wordpress.org/support/topic-tag/uncaught-error/)

 * 3 replies
 * 1 participant
 * Last reply from: [planky](https://wordpress.org/support/users/planky/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/version-3-1-2-uncaught-error-attributesvariations/#post-9418004)
 * Status: resolved