• Hi,

    I have updated hotel booking theme, wordpress, nd-booking plugin but I get a fatal error on calendar view:

    Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string (31/08/2020) at position 0 (3): Unexpected character in /home3/rcopsa79/hml.copsamare.ro/wp-content/plugins/nd-booking/inc/functions/functions.php:376 Stack trace: #0 /home3/rcopsa79/hml.copsamare.ro/wp-content/plugins/nd-booking/inc/functions/functions.php(376): DateTime->__construct(’31/08/2020′) #1 /home3/rcopsa79/hml.copsamare.ro/wp-content/plugins/nd-booking/addons/calendar-view/index.php(200): nd_booking_is_available(94, ‘8/1/2020’, ‘2020/08/02’) #2 /home3/rcopsa79/hml.copsamare.ro/wp-includes/class-wp-hook.php(287): nd_booking_add_calendar_view(”) #3 /home3/rcopsa79/hml.copsamare.ro/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #4 /home3/rcopsa79/hml.copsamare.ro/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #5 /home3/rcopsa79/hml.copsamare.ro/wp-admin/admin.php(254): do_action(‘booking-plugin_…’) #6 {main} thrown in /home3/rcopsa79/hml.copsamare.ro/wp-content/plugins/nd-booking/inc/functions/functions.php on line 376

    Any idea why it is not working?

    anne-catherine Wambersie

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

    (@doubleusolutions)

    just found out that it happens when the date is set dd/mm/yy instead of the opposite. Format should be checked when entering an new order.

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error on Calendar view’ is closed to new replies.