Support

Home Forums Event Espresso Premium Registration etc emails not sending – Debian Stretch, Apache 2.4, PHP7.0-FPM

Registration etc emails not sending – Debian Stretch, Apache 2.4, PHP7.0-FPM

Posted: November 19, 2018 at 7:42 am

Viewing 3 reply threads


Ian Just

November 19, 2018 at 7:42 am

We use Espresso for one event a year. Since this year’s event, the server has been updated from Debian Jessie running Apache 2.4 and PHP-FPM 5.6.38 to Debian Stretch running Apache 2.4 and PHP-FPM 7.0.30. It’s also been kept up to date with WordPress updates and I’m running EE 4.9.70.p..

.. and when setting up for next year’s event, the registration etc emails aren’t sending.

They are appearing in the wp-admin/admin.php?page=espresso_messages list with the pink bar (“Messenger Is Executing”). If I go to the event’s setup page, edit one of the notifications, and try a test send, I get a blank page and the email appears with a grey bar (“Queued For Generating”) in the messages list.

Another plugin (WP User Login Notifier) is able to send email via the wp_mail function and, having just installed it, the WP Mail Log plugin doesn’t see anything about the EE emails.

Looking at my webserver’s logfiles, there are a number of lines like:
[Sun Nov 18 19:09:06.146145 2018] [proxy_fcgi:error] [pid 14856:tid 2888743744] [client 12.34.56.78:46288] AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'DOMDocument' not found in /h
ome/user/public_html/bookings/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/cssinliner/vendor/tijsverkoyen/css-to-inline-styles/src/CssToInlineStyles.php:146\nStack trace:\n#0 /home/user/pub
lic_html/bookings/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Email_messenger.class.php(629): TijsVerkoyen\\CssToInlineStyles\\CssToInlineStyles->convert(true)\n#1 /home/user/public_html/bookings/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/EE_Email_messenger.class.php(438): EE_Email_messenger->_body()\n#2 /home/user/public_html/bookings/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_messenger.lib.php(636): EE_Email_messenger->_send_message()\n#3 /home/user/public_html/bookings/wp-content/plugins/event-espresso-core-reg/core/libraries/messages/EE_Messages_Queue.lib.php(665): EE_messenger->send_message(Object(EE_Message), Object(EE_P...\n', referer: https://bookings.example.com/wp-cron.php?doing_wp_cron=1542568145.70512891277508544921875

(IP address, username and referer changed)

.. and I’m wondering if this is related.


Tony

  • Support Staff

November 19, 2018 at 7:46 am

Hi there,

It sounds like you don’t have php-dom and need to install it.

You can do so on Debian / Ubuntu using:

sudo apt-get install php-dom


Ian Just

November 19, 2018 at 8:51 am

Ah ha, thank you!

There isn’t a php-dom package for any even vaguely recent Debian: it’s the php7.0-xml package (“This package provides the DOM, SimpleXML, WDDX, XML, and XSL module(s) for PHP”) you need on Debian Stretch and almost certainly Ubuntu.


Tony

  • Support Staff

November 19, 2018 at 9:06 am

You’re most welcome, glad you found the correct package.

Please do let us know if you continue to have issues with the emails.

Viewing 3 reply threads

The support post ‘Registration etc emails not sending – Debian Stretch, Apache 2.4, PHP7.0-FPM’ 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