Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Plugin Conflict – WooCommerce Variation Swatches by ThemeAlien

Home / Forums / Ascend Theme / Plugin Conflict – WooCommerce Variation Swatches by ThemeAlien

This topic is: Not Resolved
[Not Resolved]
Posted in: Ascend Theme
November 3, 2018 at 8:06 am

Hi there,

I want to use a variation swatch to display images of my variation colour options instead of just text. I have used this plugin before with another theme and it worked great so added it to my site but am getting the following error on the swatch area of the product.

Fatal error: Uncaught ArgumentCountError: Too few arguments to function TA_WC_Variation_Swatches_Frontend::get_swatch_html(), 1 passed in /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-includes/class-wp-hook.php on line 286 and exactly 2 expected in /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-content/plugins/variation-swatches-for-woocommerce/includes/class-frontend.php:53 Stack trace: #0 /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-includes/class-wp-hook.php(286): TA_WC_Variation_Swatches_Frontend->get_swatch_html(‘<select class=”…’) #1 /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<select class=”…’, Array) #2 /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-content/themes/ascend_premium/lib/woocommerce/woo-single-product-hooks.php(448): apply_filters(‘woocommerce_dro…’, ‘<select class=”…’) #3 /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-content/themes/ascend_premium/lib/woocommerce/woo-single-product-hooks.php(348): kadence_variable_swatch_wc_dropdown_variation_a in /var/www/vhosts/octopuspals.co.uk/httpdocs/wp-content/plugins/variation-swatches-for-woocommerce/includes/class-frontend.php on line 53

Please can you take a look? The site is in development so has a holding page to anyone not logged in, you are already on as a user though from a prevoius ticket.

Kind regards,
Charlotte

  • The forum ‘Ascend Theme’ is closed to new topics and replies.