PHP warning call_user_func_array() expects parameter 1
-
Hi there
We have an error warning on products page with WooCommerce.
Message: call_user_func_array() expects parameter 1 to be a valid callback, function ‘select_variations’ not found or invalid function name
Location:
wp-includes/class-wp-hook.php:307
do_action(‘woocommerce_after_add_to_cart_button’)
wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variation-add-to-cart-button.php:33
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:3034
woocommerce_single_variation_add_to_cart_button()
wp-includes/class-wp-hook.php:307
do_action(‘woocommerce_single_variation’)
wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php:71
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1721
woocommerce_variable_add_to_cart()
wp-includes/class-wp-hook.php:307
do_action(‘woocommerce_variable_add_to_cart’)
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1667
woocommerce_template_single_add_to_cart()
wp-includes/class-wp-hook.php:307
do_action(‘woocommerce_single_product_summary’)
wp-content/plugins/genesis-connect-woocommerce/templates/single-product.php:62
gencwooc_single_product_loop()
wp-includes/class-wp-hook.php:307
do_action(‘genesis_loop’)
wp-content/themes/genesis/lib/framework.php:66
genesis()
wp-content/plugins/genesis-connect-woocommerce/templates/single-product.php:77Could you help to understand what it means and how do fix?
Thanks.
The page I need help with: [log in to see the link]
- The topic ‘PHP warning call_user_func_array() expects parameter 1’ is closed to new replies.