Support

Home Forums Event Espresso Premium Emails Not Going Out

Emails Not Going Out

Posted: February 28, 2018 at 9:20 am


John Bottini

February 28, 2018 at 9:20 am

Hello,

The latest email templates I’ve created for my events are not going out. The error in the PHP logs are as follows (with sensitive info stripped out). It appears to be breaking at <table class=”body-wrap”>
<t, but I copied and pasted from an email template that does work, and while it worked at first, it stopped working agin. Can you please advise? Thank you!

[28-Feb-2018 15:59:57 UTC] PHP Notice: WPDB Error “” while running wpdb method “insert” with arguments [“gv_esp_message”,{“MSG_token”:”0eaf9a326eb9453cc5c3201b02e4ebe2″,”GRP_ID”:132,”TXN_ID”:16065,”MSG_messenger”:”email”,”MSG_message_type”:”pending_approval”,”MSG_context”:”admin”,”MSG_recipient_ID”:5,”MSG_recipient_type”:”WP_User”,”MSG_content”:”<!– HEADER –>\r\n<table class=\”head-wrap\” bgcolor=\”#D1010E\”>\r\n<tbody>\r\n<tr>\r\n<td><\/td>\r\n<td class=\”header container\”>\r\n<div class=\”content\”>\r\n<table bgcolor=\”#D1010E\”>\r\n<tbody>\r\n<tr>\r\n<td><\/td>\r\n<td align=\”right\”>\r\n<h6 class=\”collapse\”>Site Title<\/h6>\r\n<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/div><\/td>\r\n<td><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<!– END HEADER –>\r\n<!– BODY –>\r\n<table class=\”body-wrap\”>\r\n<tbody>\r\n<tr>\r\n<td><\/td>\r\n<td class=\”container\” bgcolor=\”#FFFFFF\”><!– content –>\r\n<div class=\”content in /path/to/site/—/www.domain.com/web/content/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php on line 2263
[28-Feb-2018 15:59:57 UTC] PHP Notice: WPDB AGAIN: Error “” while running the same method and arguments as before. Automatically attempting to fix EE Addons DB in /path/to/site/—/www.domain.com/web/content/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php on line 2263
[28-Feb-2018 15:59:57 UTC] PHP Fatal error: Uncaught exception ‘EE_Error’ with message ‘WPDB Error occurred, but no error message was logged by wpdb! The wpdb method called was “insert” and the arguments were “array (
0 => ‘gv_esp_message’,
1 =>
array (
‘MSG_token’ => ‘0eaf9a326eb9453cc5c3201b02e4ebe2’,
‘GRP_ID’ => 132,
‘TXN_ID’ => 16065,
‘MSG_messenger’ => ’email’,
‘MSG_message_type’ => ‘pending_approval’,
‘MSG_context’ => ‘admin’,
‘MSG_recipient_ID’ => 5,
‘MSG_recipient_type’ => ‘WP_User’,
‘MSG_content’ => ‘<!– HEADER –>
<table class=”head-wrap” bgcolor=”#D1010E”>
<tbody>
<tr>
<td></td>
<td class=”header container”>
<div class=”content”>
<table bgcolor=”#D1010E”>
<tbody>
<tr>
<td align=”right”>
<h6 class=”collapse”>The Warren Group</h6>
</td>
</tr>
</tbody>
</table>
</div></td>
<td></td>
</tr>
</tbody>
</table>
<!– END HEADER –>
<!– BODY –>
<table class=”body-wrap”>
<t in /path/to/site/—/www.domain.com/web/content/wp-content/plugins/event-espresso-core-reg/core/db_models/EEM_Base.model.php on line 2204


Josh

  • Support Staff

February 28, 2018 at 10:30 am

Hi there,

May I ask what exactly is in the template immediately following
<table class="body-wrap">


John Bottini

February 28, 2018 at 11:54 am

Of course! Here is the full code:

<!-- HEADER -->
<table class="head-wrap" bgcolor="#D1010E">
<tbody>
<tr>
<td></td>
<td class="header container">
<div class="content">
<table bgcolor="#D1010E">
<tbody>
<tr>
<td>[CO_LOGO]</td>
<td align="right">
<h6 class="collapse">[COMPANY]</h6>
</td>
</tr>
</tbody>
</table>
</div></td>
<td></td>
</tr>
</tbody>
</table>
<!-- END HEADER -->
<!-- BODY -->
<table class="body-wrap">
<tbody>
<tr>
<td></td>
<td class="container" bgcolor="#FFFFFF"><!-- content -->
<div class="content">
<h1>Registration(s) Pending Payment</h1>
The following registration(s) are awaiting payment for the following event(s).
<table>
<tbody>
<tr>
<td>[EVENT_LIST]</td>
</tr>
</tbody>
</table>
</div></td>
<td></td>
</tr>
</tbody>
</table>
<!-- END BODY -->


John Bottini

February 28, 2018 at 11:54 am

(Above is what’s set in the “Main Content” block)


Josh

  • Support Staff

March 1, 2018 at 12:50 pm

Is the template for the Not Approved message type? If so, can you set up a test event that uses the Not Approved Default registration status, then set that event to use a custom Not Approved message template, and set that template to use the Default template. Does the error happen when you test a registration for that event?

The support post ‘Emails Not Going Out’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 3 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!