وردپرس

Fatal error: Typed property DOMDocument


Hello, I am experiencing a problem with the plugin I just installed on a new WordPress. The error is the following:

Fatal error: Typed property DOMDocument::$documentElement must not be accessed before initialization
/srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php (275) 0 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php(402): Masterminds\HTML5\Parser\DOMTreeBuilder->startTag() 1 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php(144): Masterminds\HTML5\Parser\Tokenizer->tagName() 2 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5/Parser/Tokenizer.php(82): Masterminds\HTML5\Parser\Tokenizer->consumeData() 3 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5.php(161): Masterminds\HTML5\Parser\Tokenizer->parse() 4 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/masterminds/html5/src/HTML5.php(89): Masterminds\HTML5->parse() 5 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(514): Masterminds\HTML5->loadHTML() 6 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/makers/class-pdf-maker.php(51): Dompdf\Dompdf->loadHtml() 7 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1027): WPO\WC\PDF_Invoices\Makers\PDF_Maker->output() 8 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1093): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() 9 /srv/wordpress/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(568): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf() 10 /srv/wordpress/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax() 11 /srv/wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 12 /srv/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() 13 /srv/wordpress/wp-admin/admin-ajax.php(192): do_action() 14 {main}

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا