Posted: May 15, 2015 at 3:08 pm
|
Hej again, When I try to resend any kind of confirmation email, I get the following error: The following errors have occurred: Any idea how I can fix this? |
Hi Vince, is your registration approved message type enabled? Here is a screenshot: http://cl.ly/image/383C381j0T42 Also, are you experiencing any issues with any other message types in Event Espresso? — |
|
|
Hej Lorenzo, It is enabled, same as what you show. And it seems to be all messages. I’m no longer receiving admin related registration emails either. It’s odd, as earlier yesterday I was receiving admin emails. I’m sure it was working earlier in the week though when I was testing – it seems to be since I upgraded Event Espresso on Wednesday that it has been occurring. |
Hello Vince, We have a few versions of EE4 floating around. Can you please tell me what version of Event Espresso is currently installed on your site? |
|
|
Hi again, I have Version 4.6.27.p installed currently. |
Hi Vince, Are you using Mandrill for your emails, using wpMandril? |
|
|
No I’m not. Should I? If so, how does one install that? Apologies for my slow reply – I’ve been busy with my day job… |
|
I’ve actually just installed it – and it looks like it’ll work…but I’m getting a weird message now: redacted – Event Espresso support team – LOC |
Hi Vince, could you take a look at this article here? https://eventespresso.com/wiki/postmark-app-mandrill-transactional-email-handling-services/ If anything is confusing, do let us know so we can clarify. — |
|
|
Hi Lorenzo, Nothing confusing – but I still get that error I noted above. Any idea? Or should I try Postmark instead? |
Alright, who are you using for your hosting provider? I read back to an earlier post and you mentioned that it was working a few days ago but has since stopped. Were there any new plugin installs during this time or were any message types disabled through the settings page for the messages system in your WP dashboard? — |
|
|
Only installs or updates done have been the upgrades for event espresso. My host is one.com here in Denmark. I strongly suspect it was manually registering 60+ attendees that caused the problem. I like how mandrill is working, I just would like to solve that problem instead now than the original if we can. |
Hi Vince, Are you still seeing the same error if you try to resend an email now that Mandrill is setup? Mandrill and Postmark app can handle sending out a large number of emails each day. — |
|
|
Hi No I’m getting a different error. But it looks like the support team redacted it from an earlier post. Something about a time out error. |
Hi, I removed it since our support forums are partially public. We can still see it and here is what I found on that: http://stackoverflow.com/a/21108885 It may be a restriction via your web host. Could you deactivate the Mandrill plugin and try Postmark app instead? — |
|
|
Hej I’ve tried to use Postmark, and get the following error instead:
This is beginning to get a little tiresome. All I need is the ability to send emails. WP isn’t working, Mandrill isn’t working, Postmark isn’t working. For what is supposed to be a ‘simple’ proposition, this is becoming increasingly frustrating.
|
As much as emails should be simple, they rarely are ๐ The error thrown by wpMandrill was this:
I’ve remove any details specific to your server so the error can remain visible. Whats happening here is wpMandrill is attempting to extend the php_execustion_time value on your server. This value defaults to 30 seconds, Mandrill is trying to do this: if( !ini_get('safe_mode') ){ set_time_limit(2 * 60); } If PHP is not in safe mode, extend the execution time to 120 seconds… Normally this works fine, but your host has a policy in place to prevent such changes and so throws a warning. This isn’t a problem if you are not experiencing timeout issues with wpMandrill although I would recommend contacting your host and see what they recommend. The fact that the emails just stopped working leads me to believe this is a server config issue. Can WordPress send standard emails? Remove the PostMark plugin and is wpMandrill is active, temporarily disable it. Install a plugin such as Check Email and use it to send a test email from your install. Do you receive that email? If not then WordPress can’t send emails, if WordPress can not send emails neither can Event Espresso. This would be a server config issue. This is where wpMandrill comes in, it removes your hosts mailserver from the equation as your are using Mandrills servers for your emails. So re-activate and use wpMandril and your emails should work as expected. As explained above the ‘warning’ thrown by wpMandrill is due to a restriction in place by your host and because you have error reporting enabled on your site. Is WP_DEBUG enabled? If so disable it to remove the warnings. (This doesn’t actually fix the problem, just stops the warning from being displayed, so I would still recommend contacting your host for further info) |
|
|
Cheers Tony! I got in touch with my host earlier, and they do have a 50s timer thing policy in place. So I went in, edited the php code, and I still get the error. Along with a new ‘1109’ header type email warning. Postmark isn’t throwing the time error, but instead the error I noted above. It seems to send the emails fine (and I receive the test ones), but it still ‘crashes’ the site. I’ve no idea if WP_Debug is enabled or not, or even where to disable it…. Thanks again for the patience! |
Sorry I seem to missing something, how is the site ‘crashing’?
What exactly did you change? WP_DEBUG is enabled using a constant within the wp-config.php file on your server. Currently are you using PostMark or Mandrill? Which service would you prefer to use? I think its best if we stick with one and get that working, personally I recommend Mandrill as its what I use although PostMark is very similar. |
|
|
Hej Tony, Thanks for the continued patience.
I entered the Mandrill.class.php file, and changed line 432. Instead of the 2 * 60 that was in the set time function, I changed it to 50, which was the limit that my host has. Each time an email is sent from the site, the site changes to a blank white screen, with the block of error messages described earlier. And the emails that are sent are garbled HTML. This might have something to do I think with the final error in the listing: Warning: Cannot modify header information – headers already sent by (output started at /customers/a/b/8/dktge.com/httpd.www/events/wp-content/plugins/wpmandrill/lib/mandrill.class.php:432) in /customers/a/b/8/dktge.com/httpd.www/events/wp-includes/pluggable.php on line 1196 I’m fine with using either system, and just want to get one working. I think Mandrill is the better option overall. |
The issue isn’t the value that is being set, its that your host doesn’t allow the script to change the value at all, which is what it is trying to do. That’s a warning, notice it starts with ‘Warning: ‘, warnings basically mean ‘something is wrong but I’m letting you know about it and will try to continue with what I’m doing’. There should be one with ‘Fatal Error:’ is you getting a whitescreen, can you paste that here please?
|
|
|
Hmm – there’s no ‘Fatal Error’ flag when the screen goes white. Just this:
|
There’s something strange here. Could I take a look over the admin and see if I can see any reason for this? You may need to issue a ticket with your hosting company for them to investigate this but I’ll check over Event Espresso. If so please send temporary log in details using this form: |
|
The support post ‘Error when trying to resend emails’ 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.