• Resolved WhiteMoon

    (@lunablanco)


    Hello,

    The issue is that in the mails that are sent to the costumers (and the copy the admin gets) present the following error:

    Warning: compact(): Undefined variable $updated in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/summary.php on line 67
    
    Warning: compact(): Undefined variable $rescheduled in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/summary.php on line 67
    
    Warning: Undefined array key 0 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    
    Warning: Undefined array key 1 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    
    Warning: Undefined array key 2 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    
    Warning: Undefined array key 3 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    
    Warning: Undefined array key 4 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    
    Warning: Undefined array key 5 in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 133
    Warning: compact(): Undefined variable $updated_message in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 201
    
    Warning: compact(): Undefined variable $customer in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 201
    
    Warning: compact(): Undefined variable $updated in /home/lunatmsj/public_html/wp-content/plugins/salon-booking-system/views/mail/template.php on line 201

    It only happens when the mail is for: Appointment update, manually set appointment (form the backend), date change.

    when the date is set from the front end, nothing happens.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter WhiteMoon

    (@lunablanco)

    I already managed to solve the problem.

    The error occurred because I had php 8.0 and I think some functions are not compatible with this version. Downgraded to php 7.4 and it works great

Viewing 1 replies (of 1 total)

The topic ‘Error in mails’ is closed to new replies.