Support » Plugin: Alipay For WooCommerce » Undefined variable: $log in line 424 of class-wc-alipay.php

  • if ( $this->debug == 'yes' ){
                    $log = true;
                }
                /*----------ADDING--------------*/
    
                else{
                     $log = false;
                }
                /*----------//ADDING--------------*/

    https://wordpress.org/plugins/alipay-for-woocommerce/

    or it will throw a notice like the following on the order received page when you uncheck the debug checkbox:
    Notice: Undefined variable: log in /www/web/***/public_html/wp-content/plugins/alipay-for-woocommerce/class-wc-alipay.php on line 428

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable: $log in line 424 of class-wc-alipay.php’ is closed to new replies.