Posted: 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”> [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 |
Hi there, May I ask what exactly is in the template immediately following |
|
|
Of course! Here is the full code:
|
|
(Above is what’s set in the “Main Content” block) |
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.