The admin notification is not sending when new events are submitted on my site. The notify admin checkbox is enabled in the form setting but no emails are being sent.
http://thingsnanaimo.com
I am seeing the following error in the PHP error log. Is this associated with the issue I am seeing?
[17-Oct-2018 11:30:17 UTC] PHP Fatal error: Uncaught Error: Call to a member function format() on boolean in /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-content/plugins/event-organiser/includes/event-organiser-register.php:502
Stack trace:
#0 /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-includes/class-wp-hook.php(286): eventorganiser_delete_expired_events()
#1 /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#2 /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#3 /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-cron.php(126): do_action_ref_array('eventorganiser_...', Array)
#4 {main}
thrown in /home/q7ydqlh8usm5/public_html/thingsnanaimo.com/wp-content/plugins/event-organiser/includes/event-organiser-register.php on line 502
Daelen Berg
HI Daelen,
No the error you’re seeing probably isn’t related to the issue you’re having. It appears you have some events without dates associated to them (perhaps left over from other events plugins) and that is causing the error.
However, that specific error doesn’t relate to the email functionality.
I’d recommend you install this plug-in: https://wordpress.org/plugins/wp-mail-logging/ to verify if the email is being sent (or not) by the application. That plugin will log any email sent from your site via WordPress.
If it does appear there, but is not received this maybe because your server is not configured to send emails, or it is being blocked by email providers. In this instance I’d recommend you use this plug-in: https://en-gb.wordpress.org/plugins/wp-mail-smtp/ and use a third-party service such as Sendgrid or Mandrill.
Stephen Harris