Errors after upgrade PHP to 7.4.10
-
Hi, I need to upgrade my website to PHP 7.4.10 yesterday as my website was throwing error messages when adding items to the cart. Now when I go to print PDF invoices I am getting this error message…
Fatal error: Call to undefined function WPO\WC\PDF_Invoices\Documents\ctype_digit()
#0 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-document-number.php(77): WPO\WC\PDF_Invoices\Documents\Document_Number->apply_formatting(Object(WPO\WC\PDF_Invoices\Documents\Invoice), Object(Automattic\WooCommerce\Admin\Overrides\Order))
#1 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(495): WPO\WC\PDF_Invoices\Documents\Document_Number->__construct(836, Array, Object(WPO\WC\PDF_Invoices\Documents\Invoice), Object(Automattic\WooCommerce\Admin\Overrides\Order))
#2 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php(122): WPO\WC\PDF_Invoices\Documents\Order_Document->set_number(836)
#3 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/class-wcpdf-invoice.php(74): WPO\WC\PDF_Invoices\Documents\Invoice->init_number()
#4 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/wcpdf-functions.php(89): WPO\WC\PDF_Invoices\Documents\Invoice->init()
#5 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(323): wcpdf_get_document(‘invoice’, Object(Automattic\WooCommerce\Admin\Overrides\Order), true)
#6 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-includes/class-wp-hook.php(287): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#7 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#8 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#9 /hermes/bosnacweb05/bosnacweb05ag/b2831/nf.thenuthouse1/public_html/wp-admin/admin-ajax.php(176): do_action(‘wp_ajax_generat…’)
#10 {main}I’m not really tech orientated, so at the moment i’m stuck and cant print invoices at all. Hope you are able to help. This error message has only appeared since upgrade to PHP 7.4.10 yesterday evening.
I am using Woocommerce PDF invoices version 2.7.1, and Woocommerce 4.7.0.Regards
Geoff
- The topic ‘Errors after upgrade PHP to 7.4.10’ is closed to new replies.