• Resolved sachinnambiar

    (@sachinnambiar)


    Hello, Currently the plugin throws up a lot of PHP errors when check with Query monitor. I found the problem gone when I switched PHP to 7.3.5 but persists on 7.4.1

    Are you looking to update the plugin for PHP 8?

    Error – “Trying to access array offset on value of type bool”

    Details Below

    
    

    wp-content/plugins/woo-variation-swatches/includes/functions.php:965
    wvs_variable_item()
    wp-content/plugins/woo-variation-swatches/includes/functions.php:1274
    wvs_image_variation_attribute_options()
    wp-content/plugins/woo-variation-swatches/includes/functions.php:1641
    wvs_variation_attribute_options_html()
    wp-includes/class-wp-hook.php:292
    apply_filters(‘woocommerce_dropdown_variation_attribute_options_html’)
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:3062
    wc_dropdown_variation_attribute_options()
    wp-content/plugins/woocommerce/templates/single-product/add-to-cart/variable.php:45
    wc_get_template()
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:1674
    woocommerce_variable_add_to_cart()
    wp-includes/class-wp-hook.php:292
    do_action(‘woocommerce_variable_add_to_cart’)
    wp-content/plugins/woocommerce/includes/wc-template-functions.php:1620
    woocommerce_template_single_add_to_cart()
    wp-includes/class-wp-hook.php:292
    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:292
    do_action(‘genesis_loop’)
    wp-content/themes/genesis/lib/framework.php:66
    genesis()
    wp-content/plugins/genesis-connect-woocommerce/templates/single-product.php:77

  • The topic ‘PHP 8 Support’ is closed to new replies.