• Resolved alshizawi

    (@alshizawi)


    I faced an error while trying to ” Resend New Order Notification ”

    It shows this message :

    There has been a critical error on this website. Please check your site admin email inbox for instructions.

    I check the debug file , it shows error lines in the plugin .. like so :

    [02-Apr-2023 12:23:01 UTC] PHP Fatal error:  Uncaught Exception: Not implemented, please install iconv in /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/InputStream.php:80
    Stack trace:
    #0 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/Tokenizer.php(95): HTML5_InputStream->__construct('<!DOCTYPE html>...')
    #1 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/Dompdf.php(524): HTML5_Tokenizer->__construct('<!DOCTYPE html>...')
    #2 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/class-dompdf.php(32): Dompdf\Dompdf->loadHtml('<!DOCTYPE html>...')
    #3 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/class-wf-woocommerce-packing-list-pdf_generator.php(112): Wt_Pklist_Dompdf->generate('/home/**/pu in /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/InputStream.php on line 80
    [02-Apr-2023 12:23:02 UTC] PHP Notice:  Undefined index: capabilities in /home/**/public_html/**/wp-includes/class-wp-roles.php on line 292

    And the email i received for the same was :

    An E_ERROR error occurred due to line 80 in the file /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/InputStream. PHP. Error Message: Uncaught Exception: Not implemented, please install icon in /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/InputStream. PHP: 80
    Stack Trace:
    #0 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/Tokenizer. PHP (95): HTML5_InputStream->>_construct('... )
    #1 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/Dompdf. PHP(524): HTML5_Tokenizer->__construct('... )
    #2 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/class-dompdf. PHP(32): Dompdf\Dompdf->loadHtml('... )
    #3 /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/class-woocommerce-packing-list-pdf_generator. PHP (112): Wt_Pklist_Dompdf->generate('/home/**/pu
    
    • This topic was modified 3 years, 1 month ago by alshizawi.
    • This topic was modified 3 years, 1 month ago by alshizawi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter alshizawi

    (@alshizawi)

    As per the error line :

    PHP Fatal error:  Uncaught Exception: Not implemented, please install iconv in /home/**/public_html/**/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/html5lib/InputStream.php:80

    I installed iconv , and it works now ..

    but what i want to know , why this issues happen as everything were working fine before ?

    There was any updates on the plugin ?!

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @alshizawi,

    Greetings from Webtoffee!

    Good to see that you were able to resolve the issue. As mentioned in the error message, it was caused due to missing library function. While we cannot provide any info on why it wasn’t working for a brief period, we can assure you that the error is not caused by any plugin updates. Our recent release was 4 weeks ago.

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

The topic ‘Error while trying to send notification’ is closed to new replies.