For months I updated the PHP, WordPress and Woocommerce, the plugin does not generate the shipping and invoice pdf due to a critical error.
Is there a problem connecting the plugin with PHP version 8.1.20?
An error of the type E_ERROR has occurred on line 507 of the file:
/homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Helpers.php. Mensaje de error: Uncaught Dompdf\Exception: file_get_contents(): Passing null to parameter #2 ($use_include_path) of type bool is deprecated 8192 in /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Helpers.php:507
Stack trace:
#0 [internal function]: Dompdf\Helpers::record_warnings()
#1 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Helpers.php(839): file_get_contents()
#2 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Css/Stylesheet.php(367): Dompdf\Helpers::getFileContent()
#3 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Dompdf.php(572): Dompdf\Css\Stylesheet->load_css_file()
#4 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/dompdf/src/Dompdf.php(724): Dompdf\Dompdf->processHtml()
#5 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-document.php(85): Dompdf\Dompdf->render()
#6 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-document.php(61): YITH_Document->generate_template()
#7 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-shipping.php(91): YITH_Document->save_file()
#8 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-woocommerce-pdf-invoice.php(421): YITH_Shipping->save()
#9 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-woocommerce-pdf-invoice.php(401): YITH_WooCommerce_Pdf_Invoice->save_document()
#10 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-content/plugins/yith-woocommerce-pdf-invoice/lib/class.yith-woocommerce-pdf-invoice.php(328): YITH_WooCommerce_Pdf_Invoice->create_document()
#11 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-includes/class-wp-hook.php(308): YITH_WooCommerce_Pdf_Invoice->init_plugin_actions()
#12 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#13 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-includes/plugin.php(517): WP_Hook->do_action()
#14 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-settings.php(623): do_action()
#15 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-config.php(80): require_once('/homepages/10/d...')
#16 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-load.php(50): require_once('/homepages/10/d...')
#17 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-admin/admin.php(34): require_once('/homepages/10/d...')
#18 /homepages/10/d756136762/htdocs/clickandbuilds/ZambraShop/wp-admin/post.php(12): require_once('/homepages/10/d...')
#19 {main}
? thrown