Critical Uncaught Error: Call to undefined function
-
Hello everyone, I am strugglign with this Error for quite some time as I did not managed to solve anything even after updated all stuff, deactivated unrelated plugins and so on. Bellow is the error from Woo status. Everytime i try to download an invoice I get on site “There has been a critical error on this website. Please check your site admin email inbox for instructions.”
Could you please enlight me on this error and what could be a potential solution, I would really appreciate any advice/solution ??
2024-08-08T09:19:54+00:00 Critical Uncaught Error: Call to undefined function HrxDeliveryWoo\get_current_screen() in /home/customer/www/mysite.pl/public_html/wp-content/plugins/hrx-delivery-woo/classes/WcTools.php:63 CONTEXT: {"error":{"type":1,"file":"\/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/hrx-delivery-woo\/classes\/WcTools.php","line":63},"backtrace":["","#0 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/hrx-delivery-woo\/classes\/WcTools.php(92): HrxDeliveryWoo\\WcTools->get_current_screen_id()","#1 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/hrx-delivery-woo\/classes\/Order.php(151): HrxDeliveryWoo\\WcTools->is_available_screen('admin_order_edi...')","#2 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/class-wp-hook.php(326): HrxDeliveryWoo\\Order->save_admin_order_block_hpos(195077)","#3 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)","#4 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)","#5 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/woocommerce\/includes\/data-stores\/class-wc-order-data-store-cpt.php(196): do_action('woocommerce_upd...', 195077, Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))","#6 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/woocommerce\/includes\/class-wc-data-store.php(196): WC_Order_Data_Store_CPT->update(Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))","#7 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/woocommerce\/includes\/abstracts\/abstract-wc-order.php(212): WC_Data_Store->update(Object(Automattic\\WooCommerce\\Admin\\Overrides\\Order))","#8 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/woocommerce\/includes\/class-wc-order.php(252): WC_Abstract_Order->save()","#9 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/pdf-invoices-and-packing-slips-for-woocommerce\/includes\/class-apifw-invoice.php(1264): WC_Order->save()","#10 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/pdf-invoices-and-packing-slips-for-woocommerce\/includes\/class-apifw-invoice.php(131): APIFW_Invoice->get_invoice_number('195077')","#11 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/pdf-invoices-and-packing-slips-for-woocommerce\/includes\/class-apifw-invoice.php(103): APIFW_Invoice->get_invoice_pdf_name(Array, 'inv_preview')","#12 \/home\/customer\/www\/mysite.pl\/public_html\/wp-content\/plugins\/pdf-invoices-and-packing-slips-for-woocommerce\/includes\/class-apifw-front-end.php(142): APIFW_Invoice->invoice_pdf_gen_handler(Array, 'inv_preview')","#13 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/class-wp-hook.php(324): APIFW_Front_End->handle_order_documents('')","#14 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)","#15 \/home\/customer\/www\/mysite.pl\/public_html\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)","#16 \/home\/customer\/www\/mysite.pl\/public_html\/wp-settings.php(695): do_action('init')","#17 \/home\/customer\/www\/mysite.pl\/public_html\/wp-config.php(104): require_once('\/home\/customer\/...')","#18 \/home\/customer\/www\/mysite.pl\/public_html\/wp-load.php(50): require_once('\/home\/customer\/...')","#19 \/home\/customer\/www\/mysite.pl\/public_html\/wp-admin\/admin.php(34): require_once('\/home\/customer\/...')","#20 \/home\/customer\/www\/mysite.pl\/public_html\/wp-admin\/index.php(10): require_once('\/home\/customer\/...')","#21 {main}","thrown"]}
by mistake i posted in another place something similar but I really hope to get a solution for this !
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.