• Resolved Francesco Lastrucci

    (@frucci)


    Hi there!
    We have just installed the plugin on one of our websites but we are obtaining a critical error from WP when trying to download the DDT pdf document.

    Here is our server log:
    [Tue Nov 22 12:30:36.319259 2022] [proxy_fcgi:error] [pid 293567:tid 140155620931328] [client 31.27.213.82:53067] AH01071: Got error '/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fseek() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 124PHP message: PHP Warning: fseek() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 124PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fwrite() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 153PHP message: PHP Warning: fseek() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/BinaryStream.php on line 124PHP message: PHP Warning: fclose() expects parameter 1 to be resource, bool given in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Francesco Lastrucci

    (@frucci)

    Other details:

    Versione di WordPress 6.1.1
    Tema attivo: Twenty Twenty-Two (versione 1.3)
    Plugin corrente: WooCommerce PDF Invoices, Packing Slips, Delivery Notes and Shipping Labels (versione 3.0.7)
    Versione PHP 7.4.33

    Dettagli dell’errore
    ====================
    Un errore di E_ERROR è stato causato nella linea 28 del file /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/Font.php. Messaggio di errore: Uncaught FontLib\Exception\FontNotFoundException: Font not found in: /tmp/DejaVuSans.ttf.tmp.637cb23d7e287 in /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/phenx/php-font-lib/src/FontLib/Font.php:28
    Stack trace:
    #0 /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/Cpdf.php(1182): FontLib\Font::load()
    #1 /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/Cpdf.php(931): Dompdf\Cpdf->processFont()
    #2 /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/lib/Cpdf.php(3195): Dompdf\Cpdf->o_font()
    #3 /home/website/www/wp-content/plugins/print-invoices-packing-slip-labels-for-woocommerce/includes/vendor/dompdf/dompdf/src/Adapter/CPDF.php(1189): Dompdf\Cpdf->output()
    #4 /home/website/www/wp-content/plugins/print-invoices-packin`

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @frucci,

    Thanks for reaching out and we are sorry for the delayed response.

    We couldn’t replicate the issue when we tested it on our end. The mentioned directory creation in the error log doesn’t seem like the default functionality of the plugin. Can you please share your WooCommerce system status report (WooCommerce>status>system status report) via this link for debugging?

    Thread Starter Francesco Lastrucci

    (@frucci)

    Sorry but we have already removed the plugin and installed another one as the functionality was requested by our client with urgency.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical error on website’ is closed to new replies.