• Resolved danielvigueras

    (@danielvigueras)


    With Query Monitor I can see the following PHP Notice:

    Undefined index: buttons
    wp-content/plugins/woocommerce-checkout-manager/includes/class-wooccm-compatibility.php:418

    The code is the following:

    
          // Additional compatibility with 4.x
          // ---------------------------------------------------------------------
          if ('wccs_settings' == $name) {
            $fields = (array) @$fields['buttons'];
          }
    

    Adding an “array_key_exists” as it’s done in the previous lines would solve the problem.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug: Undefined index’ is closed to new replies.