• I get this error “Trying to access array offset on value of type bool” in /yith-woocommerce-product-add-ons/includes/class-yith-wapo-front.php

    In line 594: <?php echo esc_attr( get_option( ‘yith_wapo_tooltip_color’ )[‘background’] ); ?>

    See code:

    /* TOOLTIP */
                    .yith-wapo-block .yith-wapo-addon .yith-wapo-option .tooltip span {
                        background-color: <?php echo esc_attr( get_option( 'yith_wapo_tooltip_color' )['background'] ); ?>;
                        color: <?php echo esc_attr( get_option( 'yith_wapo_tooltip_color' )['text'] ); ?>;
                    }
Viewing 1 replies (of 1 total)
  • Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    I checked your issue and found a problem with the default values, we will fix that issue in the next update.

    Thank you for reporting it! ??

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to access array offset on value of type bool’ is closed to new replies.