• Resolved remyb1

    (@remyb1)


    Hello, since a few days bookings don’t come in. I’ve tried disabling every theme, every other plugin and still it won’t come through. The admin-ajax.php gets a 500 error:

    PHP Fatal error:  Uncaught TypeError: Unsupported operand types: int * string in /var/www/html/wp-content/plugins/booking-calendar/includes/booking_class.php:1451
    
    Stack trace:
    
    #0 /var/www/html/wp-content/plugins/booking-calendar/includes/main_class.php(130): wpdevart_bc_BookingCalendar->save_reserv()
    
    #1 /var/www/html/wp-content/plugins/booking-calendar/includes/main_class.php(440): wpdevart_Main->main_booking_calendar()
    
    #2 /var/www/html/wp-content/plugins/booking-calendar/booking_calendar.php(560): wpdevart_Main->main_form_ajax()
    
    #3 /var/www/html/wp-includes/class-wp-hook.php(308): wpdevart_bc_calendar->wpdevart_form_ajax()
    
    #4 /var/www/html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    
    #5 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
    
    #6 /var/www/html/wp-admin/admin-ajax.php(188): do_action()
    
    #7 {main}
    
      thrown in /var/www/html/wp-content/plugins/booking-calendar/includes/booking_class.php on line 1451

    Has anyone else experienced this issue? I can’t do anything and nothing comes through. I tried rolling back to the previous version (3.2.6)

    Thanks in advance, Remy

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter remyb1

    (@remyb1)

    Edit: I found the culprit, after debugging for hours.. The pricing field was not filled in, still an issue in the plugin and should not give such an error…

    Plugin Author wpdevart

    (@wpdevart)

    Hi @remyb1.

    You should type anything in the price field. You can even type “0” for the total price, but you cannot leave this field blank. An empty price field can cause this error, so type something there and check again.

    Thanks.

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

The topic ‘Error while booking (Sorry, there was a problem!)’ is closed to new replies.