Title: reports bug
Last modified: September 1, 2016

---

# reports bug

 *  Resolved [marcwaz](https://wordpress.org/support/users/marcwaz/)
 * (@marcwaz)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/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 [website@esolutionpro.gr](https://wordpress.org/support/topic/reports-bug/website@esolutionpro.gr?output_format=md)”,“
   gen_name”: “DS Hairway”, “gen_email”: “mwazir@esolution.fr”, “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”: “test@test.com”, “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” }
 * [https://wordpress.org/plugins/salon-booking-system/](https://wordpress.org/plugins/salon-booking-system/)

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

 *  [linhos](https://wordpress.org/support/users/linhos/)
 * (@linhos)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reports-bug/#post-7492641)
 * need help
 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reports-bug/#post-7492647)
 * Hi,
 * I’ll report to our developers and get back to you.
 * In the meantime I suggest you to deactivate and delete the plugin and reinstall
   again. You will not loose any setting.
 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reports-bug/#post-7492652)
 * Hi,
 * you should ask to your hosting company that this php function should be enabled:
 * [http://php.net/manual/en/calendar.installation.php](http://php.net/manual/en/calendar.installation.php)
 * Kind regards
 *  Plugin Author [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * (@wordpresschef)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/reports-bug/#post-7492758)
 * As I didn’t received any feedback from you I suppose the issue is solved.

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

The topic ‘reports bug’ is closed to new replies.

 * ![](https://ps.w.org/salon-booking-system/assets/icon-256x256.gif?rev=3214950)
 * [Salon Booking System - Free Version](https://wordpress.org/plugins/salon-booking-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/salon-booking-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/salon-booking-system/)
 * [Active Topics](https://wordpress.org/support/plugin/salon-booking-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/salon-booking-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/salon-booking-system/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Dimitri Grassi](https://wordpress.org/support/users/wordpresschef/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/reports-bug/#post-7492758)
 * Status: resolved