PHP errors

SupportPHP errors
webpixelmedia Staff asked 3 years ago
Fatal error: Uncaught Error: Call to a member function format() on bool in /wp-content/plugins/easy-appointments/src/mail.php:594 Stack Trace
1.
EAMail->send_status_change_mail('38')
/wp-content/plugins/easy-appointments/src/ajax.php:545
2.
EAAjax->ajax_appointment('')
/wp-includes/class-wp-hook.php:292
3.
WP_Hook->apply_filters('', Array)
/wp-includes/class-wp-hook.php:316
4.
WP_Hook->do_action(Array)
/wp-includes/plugin.php:484
5.
do_action('wp_ajax_ea_appo...')
/wp-admin/admin-ajax.php:187
6.
{main}
thrown in /wp-content/plugins/easy-appointments/src/mail.php on line 594
3 Answers
Nikola Loncar Staff answered 3 years ago
Hi, thanks for reporting we will check what is going on there. Best regards, Nikola
Nikola Loncar Staff answered 3 years ago
Looks like something is not fine with timezone settings on your site. We will add check for that so there will be no error but value for start/end time will not be correct. Best regards, Nikola
webpixelmedia Staff answered 3 years ago
Thanks. What could be wrong with my timezone settings? Or ... how can I do it correctly? The server is in UK, but the client and customers are in Spain. The website is set to Spanish time, and it's this time that needs to be received in email notifications and bookings.