Hi,
those are not errors, but PHP notices that doesn’t affect the plugin functionality, just turn off the wordpress debug mode to hide them.
Hi – thanks looks like I may have cut off the most important line. The second line below shows the fatal error, not just a PHP Notice followed by a stack trace. This fatal error occurs exactly the same time as the email is generated which has the same undefined varaible notices on it now, whereas previously it was fine.
[12-Jan-2022 20:25:38 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 32
[12-Jan-2022 20:25:38 UTC] PHP Fatal error: Uncaught Exception: bad date format in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/TimeFunc.php:147
Stack trace:
#0 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Func.php(81): SLN_TimeFunc::evalPickedDate(NULL)
#1 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(138): SLN_Func::filter(NULL, 'date')
#2 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(67): SLN_Action_Ajax_CheckDate->getDateTime()
#3 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDateAlt.php(182): SLN_Action_Ajax_CheckDate->checkDateTime()
#4 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(37): SLN_Action_Ajax_CheckDateAlt->checkDateTime()
#5 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Plugin.php(212): SLN_Action_Ajax_CheckDate->execute()
#6 /home/sereni13/p in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/TimeFunc.php on line 147
Which version of the plugin are you using?
Hi,
I’m trying to reproduce the error but I can’t.
Could you please perform these tasks:
– clear your debug.log file
– make a new booking cancellation
– check your debug.log file again
– report the error
Hi – no problem. I still get the same error. These are all the logs created during the whole booking process. The fatal error is about half way down.
Thanks
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 32
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 43
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined property: SLN_CheckoutField::$isDefault in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/shortcode/salon_details.php on line 406
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined property: SLN_CheckoutField::$isDefault in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/shortcode/salon_details.php on line 406
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined property: SLN_CheckoutField::$isDefault in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/shortcode/salon_details.php on line 406
[13-Jan-2022 14:44:05 UTC] PHP Notice: Undefined property: SLN_CheckoutField::$isDefault in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/shortcode/salon_details.php on line 406
[13-Jan-2022 14:44:11 UTC] SLN booking date/time: 2022-03-12 09:00
[13-Jan-2022 14:44:11 UTC] SLN booking services: Array
(
[1122] => 0
)
[13-Jan-2022 14:44:11 UTC] SLN booking settings: Array
(
[attendant_enabled] =>
)
[13-Jan-2022 14:44:11 UTC] SLN booking service id: 1122
[13-Jan-2022 14:44:11 UTC] SLN booking service attendant enabled: 1
[13-Jan-2022 14:44:11 UTC] SLN booking service attendant id:
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: updated_message in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: updated in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: remind in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 205
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: updated_message in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: updated in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:44:11 UTC] PHP Notice: compact(): Undefined variable: remind in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:24 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 32
[13-Jan-2022 14:45:24 UTC] PHP Fatal error: Uncaught Exception: bad date format in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/TimeFunc.php:147
Stack trace:
#0 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Func.php(81): SLN_TimeFunc::evalPickedDate(NULL)
#1 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(138): SLN_Func::filter(NULL, 'date')
#2 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(67): SLN_Action_Ajax_CheckDate->getDateTime()
#3 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDateAlt.php(182): SLN_Action_Ajax_CheckDate->checkDateTime()
#4 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php(37): SLN_Action_Ajax_CheckDateAlt->checkDateTime()
#5 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Plugin.php(212): SLN_Action_Ajax_CheckDate->execute()
#6 /home/sereni13/p in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/TimeFunc.php on line 147
[13-Jan-2022 14:45:24 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 32
[13-Jan-2022 14:45:24 UTC] PHP Notice: Undefined variable: timezone in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDate.php on line 43
[13-Jan-2022 14:45:33 UTC] PHP Notice: compact(): Undefined variable: updated_message in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:33 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:33 UTC] PHP Notice: compact(): Undefined variable: updated in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:33 UTC] PHP Notice: compact(): Undefined variable: remind in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:33 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 205
[13-Jan-2022 14:45:34 UTC] PHP Notice: compact(): Undefined variable: updated_message in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:34 UTC] PHP Notice: compact(): Undefined variable: customer in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:34 UTC] PHP Notice: compact(): Undefined variable: updated in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
[13-Jan-2022 14:45:34 UTC] PHP Notice: compact(): Undefined variable: remind in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 174
ok could you send me an email to support at salon booking system dot com