But nothing changed and I got errors in Query Monitor :
DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 1
DOMDocument::loadHTML(): Tag path invalid in Entity, line: 1
DOMDocument::loadHTML(): Tag rect invalid in Entity, line: 1
DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 1
]]>I have been getting this message on top of the screen/document when we want to print either packing slip, delivery note, shipping label, dispatch label, but not invoice. Invoice is good. Please advise how to make this disappear, thanks in advance
Heres more info:
WP 6.0.3
Email-encoder-bundle plugin version is 2.1.3
Location of the error:
wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-validate.php:381
Message
On some pages:
DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 195
and many other lines.
DOMDocument::loadHTML(): ID elementor-menu-cart__toggle_button already defined in Entity, line: 302
On other pages:
DOMDocument::loadHTML(): Tag section invalid in Entity, line: 327
and many other lines.
I have read another similar issue in the forum from almost two years ago and you guys were going to update the plugin (at the time it was version 2.0.1 i think) to work better with HTML5).
I really hope you guys can help with this as i dont want to use anohter plugin since yours has really helped so far. But i think these php errors might be slowing the site seriously…
I apreciate your help
Best regards,
Levent
Since updating to php 8 I am now getting a fatal error on all pages that are not homepage – posts seem fine:
Fatal error: Uncaught Error: Class “domDocument” not found
in /var/www/html/wp-content/plugins/wp-seopress/inc/functions/options-social.php on line 735
Have had to deactivate the plugin for now, let me know if you need more info.
]]>PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found in /wp-content/plugins/mailpoet/vendor/soundasleep/html2text/src/Html2Text.php:2
Stack trace:
#0 /wp-content/plugins/mailpoet/vendor/soundasleep/html2text/src/Html2Text.php(2): Html2Text\Html2Text::getDocument()
#1 /wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Renderer.php(211): Html2Text\Html2Text::convert()
#2 /wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Renderer.php(130): MailPoet\Newsletter\Renderer\Renderer->renderTextVersion()
#3 /wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Renderer.php(77): MailPoet\Newsletter\Renderer\Renderer->_render()
#4 /wp-content/plugins/mailpoet/lib/Cron/Workers/SendingQueue/Tasks/Newsletter.php(125): MailPoet\Newsletter\Renderer\Renderer->render()
#5 /wp-content/plugins/mailpoet/lib/Cron/Workers/SendingQueue/SendingQ
in /wp-content/plugins/mailpoet/vendor/soundasleep/html2text/src/Html2Text.php on line 2
Thoughts?
]]>Thanks in advance
]]>Fatal error: Class ‘DOMDocument’ not found
#0 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(50): Dompdf\Dompdf->loadHtml(‘…’)
#1 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(627): WPO\WC\PDF_Invoices\PDF_Maker->output()
#2 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(662): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
#3 /usr/share/nginx/web/prabhuji.net/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(337): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
#4 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(288): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#5 /usr/share/nginx/web/prabhuji.net/wp-includes/class-wp-hook.php(312): WP_Hook->apply_filters(”, Array)
#6 /usr/share/nginx/web/prabhuji.net/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#7 /usr/share/nginx/web/prabhuji.net/wp-admin/admin-ajax.php(175): do_action(‘wp_ajax_generat…’)
#8 {main}
Please let me know how to fix that.
Thank you!!!
This morning, I have updated to Woocommerce to 3.5.2 and PDF Invoices and Packing Slips to 2.2.5 and the following things starter happening:
When clicking on the “Invoice” icon in the Woocommerce Orders page, instead of the Invoice opening in a new window, a window opens with the following message:
Fatal error: Class ‘DOMDocument’ not found
#0 /home/pearllas/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(50): Dompdf\Dompdf->loadHtml(‘…’)
#1 /home/pearllas/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(585): WPO\WC\PDF_Invoices\PDF_Maker->output()
#2 /home/pearllas/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(620): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
#3 /home/pearllas/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(234): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’)
#4 /home/pearllas/public_html/wp-includes/class-wp-hook.php(286): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax(”)
#5 /home/pearllas/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array)
#6 /home/pearllas/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#7 /home/pearllas/public_html/wp-admin/admin-ajax.php(100): do_action(‘wp_ajax_generat…’)
#8 {main}
If anyone has any idea of how all those things relate to each other, please help.
]]>Location
wp-content/plugins/wp-appbox/inc/queryelements.php:330
Screenshot: https://prnt.sc/h3i2zt
]]>I went one-by-one, starting with theme then all plugins, deactivating and testing. When I reverted to before the update everything was fine as normal. After the update, I have to deactivate your plugin to get my posts page working again.
All other post pages and blog taxonomy pages were still fine. The only page affected was the posts page.
This isn’t an super urgent issue for me, but I’m sure you would like to know. Please let me know if I can help you test or provide any further data to help.
Best wishes,
Joe