reports bug
-
I have updated salon booking plugin and I get the following error message when I click on reports menu. I have click on update buttons in order to update all settings, but same error. Bellow you will find my config.
Fatal error: Uncaught Error: Call to undefined function cal_days_in_month() in /var/www/html/wp-content/plugins/salon-booking-system/src/SLN/Admin/Reports/Report.php:33 Stack trace: #0 /var/www/html/wp-content/plugins/salon-booking-system/views/admin/_reports_bookings.php(5): SLN_Admin_Reports_Report->__construct(Object(SLN_Plugin), Array) #1 /var/www/html/wp-content/plugins/salon-booking-system/views/admin/reports.php(5): include(‘/var/www/html/w…’) #2 /var/www/html/wp-content/plugins/salon-booking-system/src/SLN/Plugin.php(108): include(‘/var/www/html/w…’) #3 /var/www/html/wp-content/plugins/salon-booking-system/src/SLN/Admin/Reports.php(33): SLN_Plugin->loadView(‘admin/reports’, Array) #4 /var/www/html/wp-includes/plugin.php(525): SLN_Admin_Reports->show(”) #5 /var/www/html/wp-admin/admin.php(236): do_action(‘salon_page_salo…’) #6 {main} thrown in /var/www/html/wp-content/plugins/salon-booking-system/src/SLN/Admin/Reports/Report.php on line 33
Config settings:
{
“date_format”: “default”,
“time_format”: “default”,
“hours_before_from”: “+1 day”,
“hours_before_to”: “+1 month”,
“interval”: “15”,
“availability_mode”: “advanced”,
“disabled_message”: “Booking is not available at the moment, please contact us at [email protected]”,
“gen_name”: “DS Hairway”,
“gen_email”: “[email protected]”,
“gen_phone”: “+30 210 69 18 066”,
“gen_address”: “\u03a0\u03b1\u03bd\u03cc\u03c1\u03bc\u03bf\u03c5 11 \u0391\u03b9\u03b3\u03ac\u03bb\u03b5\u03c9\r\n\u0391\u03b8\u03ae\u03bd\u03b1”,
“gen_timetable”: “In case of delay we’ll keep your \”seat\” for 15 minutes, after that you’ll loose your priority.”,
“ajax_enabled”: “1”,
“booking”: 412,
“thankyou”: “413”,
“availabilities”: [
{
“days”: {
“2”: “1”,
“3”: “1”,
“4”: “1”,
“5”: “1”,
“6”: “1”
},
“from”: [
“08:00”,
“13:00”
],
“to”: [
“13:00”,
“17:00”
]
}
],
“email_subject”: “Your booking reminder for [DATE] at [TIME] at [SALON NAME]”,
“pay_currency”: “EUR”,
“pay_currency_pos”: “right”,
“pay_paypal_email”: “[email protected]”,
“pay_paypal_test”: “1”,
“parallels_hour”: “4”,
“sln_db_version”: “3.2.1”,
“notices_disabled”: true,
“attendant_enabled”: “1”,
“sms_provider”: “fake”,
“sms_new_number”: “+33130160905”,
“sms_remind_interval”: “+1 hour”,
“email_remind_interval”: “+1 hour”,
“reservation_interval_enabled”: “1”,
“minutes_between_reservation”: “5”,
“cancellation_enabled”: “1”,
“hours_before_cancellation”: “1”,
“pay_method”: “paypal”,
“style_shortcode”: “large”,
“pay_cash”: “1”,
“week_start”: “1”,
“form_steps_alt_order”: “1”
}
- The topic ‘reports bug’ is closed to new replies.