Support

Home Forums Event Espresso Premium critical error when trying to edit message template

critical error when trying to edit message template

Posted: June 6, 2021 at 7:35 pm

Viewing 1 reply thread


hccspta

June 6, 2021 at 7:35 pm

I have a personal subscription of the Event Espresso plugin. When I try to edit and save any message template, I got the critical error. Below is what I got from the error log:

[06-Jun-2021 20:39:04 UTC] PHP Fatal error: Uncaught TypeError: Unsupported operand types: string + float in /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer/Inline.php:153
Stack trace:
#0 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(293): Dompdf\Renderer\Inline->render()
#1 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(108): Dompdf\Renderer->_render_frame()
#2 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(194): Dompdf\Renderer->render()
#3 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(194): Dompdf\Renderer->render()
#4 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(194): Dompdf\Renderer->render()
#5 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer.php(194): Dompdf\Renderer->render()
#6 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/FrameReflower/Page.php(148): Dompdf\Renderer->render()
#7 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(894): Dompdf\FrameReflower\Page->reflow()
#8 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Dompdf.php(842): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow()
#9 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Pdf_messenger.class.php(345): Dompdf\Dompdf->render()
#10 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Pdf_messenger.class.php(269): EE_Pdf_messenger->_do_pdf()
#11 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_messenger.lib.php(647): EE_Pdf_messenger->_send_message()
#12 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Queue.lib.php(665): EE_messenger->send_message()
#13 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Queue.lib.php(592): EE_Messages_Queue->_do_send()
#14 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Queue.lib.php(540): EE_Messages_Queue->_process_message()
#15 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Processor.lib.php(462): EE_Messages_Queue->execute()
#16 /my hosting directory/wp-content/plugins/event-espresso-core-reg/modules/messages/EED_Messages.module.php(285): EE_Messages_Processor->generate_and_send_now()
#17 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/EE_Module_Request_Router.core.php(241): EED_Messages->run()
#18 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/EE_Module_Request_Router.core.php(181): EE_Module_Request_Router->_module_router()
#19 /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/EE_Front_Controller.core.php(227): EE_Module_Request_Router->resolve_route()
#20 /my hosting directory/wp-includes/class-wp-hook.php(292): EE_Front_Controller->pre_get_posts()
#21 /my hosting directory/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#22 /my hosting directory/wp-includes/plugin.php(551): WP_Hook->do_action()
#23 /my hosting directory/wp-includes/class-wp-query.php(1784): do_action_ref_array()
#24 /my hosting directory/wp-includes/class-wp-query.php(3465): WP_Query->get_posts()
#25 /my hosting directory/wp-includes/class-wp.php(629): WP_Query->query()
#26 /my hosting directory/wp-includes/class-wp.php(752): WP->query_posts()
#27 /my hosting directory/wp-includes/functions.php(1291): WP->main()
#28 /my hosting directory/wp-blog-header.php(16): wp()
#29 /my hosting directory/index.php(17): require(‘/home/a3j9ci7yo…’)
#30 {main}
thrown in /my hosting directory/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/src/Renderer/Inline.php on line 153

Please help.


Tony

  • Support Staff

June 7, 2021 at 5:10 am

Hi there,

This looks like an error with using PHP8 when viewing the Receipt PDF.

I’ll create a ticket for this, however, for the time being, you’ll need to switch the version of PHP in use on your site to PHP7.X (your host should be able to help you with this).

Viewing 1 reply thread

The support post ‘critical error when trying to edit message template’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso