Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter rmosley

    (@rmosley)

    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
    Thread Starter rmosley

    (@rmosley)

    7.4.6

    Thread Starter rmosley

    (@rmosley)

    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
    Thread Starter rmosley

    (@rmosley)

    [23-Dec-2021 13:48:41 UTC] PHP Fatal error: Uncaught Error: Call to a member function getDateTime() on string in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDateAlt.php:169
    Stack trace:
    #0 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/views/shortcode/salon_date.php(24): SLN_Action_Ajax_CheckDateAlt->getIntervalsArray(”)
    #1 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Service/Templating.php(27): include(‘/home/sereni13/…’)
    #2 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Plugin.php(101): SLN_Service_Templating->loadView(‘shortcode/salon…’, Array)
    #3 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Shortcode/Salon/Step.php(27): SLN_Plugin->loadView(‘shortcode/salon…’, Array)
    #4 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Shortcode/Salon.php(55): SLN_Shortcode_Salon_Step->render()
    #5 /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Shortcode in /home/sereni13/public_html/wp-content/plugins/salon-booking-system/src/SLN/Action/Ajax/CheckDateAlt.php on line 169

    Fix hasn’t worked. I’ve updated to 7.4.5 and whilst the critical error is fixed. I now get a new error when trying to make a booking. After selecting a service and clicking next a pop error appears saying “error”. The booking plug in then freezes.

Viewing 5 replies - 1 through 5 (of 5 total)