• Resolved roxy892020

    (@roxy892020)


    Salve,
    ho installato il plugin e tutto funziona regolare ma quando vado ad aggiornarlo alla versione 0.7.0.15. nel checkout mi da questo errore:

    Undefined index: invoice_type in /home/customer/www/shopdrellero.it/public_html/fddrllro/plugins/woocommerce-pdf-invoices-italian-add-on/woocommerce-pdf-italian-add-on.php on line 435

    che corrisponde a questo:

    if($args[‘invoice_type’] == “invoice”) {
    if($this->add_cf2) {
    if ( ! empty( $args[‘cf2’]) ) {
    $pre = __(‘Tax Code’, WCPDF_IT_DOMAIN) . ‘: ‘;
    $address[‘{cf2}’] = $pre . strtoupper($args[‘cf2’]);
    }
    }

    if($this->add_PEC) {
    if ( ! empty( $args[‘PEC’]) ) {
    $pre = preg_match($this->regexCodiceDestinatario, $args[‘PEC’]) ? __(‘Recipient Code’, WCPDF_IT_DOMAIN) : __(‘Certified Email Address’, WCPDF_IT_DOMAIN);
    $address[‘{PEC}’] = $pre . ‘: ‘ . strtolower($args[‘PEC’]);
    }
    }
    }

    Mi sapreste aiutare? ora posseggo la versione 0.7.0.13 e funziona tutto bene.

    Grazie

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘undefined index’ is closed to new replies.