• Hi there,

    I am using the absolute latest version of the plugin (1.7.1.2).

    Attempting to create a new booking but I receive error:

    Checkin or Checkout overlaps another booking

    The setup I am using is extremely simple, except I have two different booking calendars. I’ve entered no other information in the settings except the below:

    Surfside&display_name=[:en]Surfside,GardenCity&display_name=[:en]GardenCity

    This is for a vacation rental site. I just wanted something quick and easy to have two different pages for two condo units with a separate calendar. But when I go to just fill in the required files to create a new booking (Name, Status – set to Booked, choose a check-in date, choose a check-out date) and hit Save, the error message shows up.

    There are no bookings at all in the calendar right now since the site was just setup.

    Is there something wrong with how I have the code in the rooms section of the settings?

    https://www.ads-software.com/plugins/jm-avail-booking/

Viewing 9 replies - 1 through 9 (of 9 total)
  • I can confirm this issue on both 1.7.1.1 and 1.7.1.2. I’ve set up 5 rooms, small hotel mode disabled, no optional parameters at all (just a comma separated list of room names), and I keep getting “Checkin or Checkout overlaps another booking” when trying to add a booking from the admin interface.
    I already have other bookings in the database for the same 5 rooms, made with previous versions of the plugin with no issue.

    If there’s any further information I can provide to help fix this please let me know.

    Marleen M

    (@marleen-meert)

    Did you check this option at the settings:

    Display Last Day as free: Checkout and new Checkin on same day

    Thread Starter spraker

    (@spraker)

    Yep, that is the second option in the settings.

    Checkout and new Checkin on same day

    That is selected in my settings. Calendar set to show as 8 months (although that isn’t relevant for this issue)

    The option is checked for me too, and either way on the new booking that keeps failing there aren’t conflicts on the first/last day.

    Thread Starter spraker

    (@spraker)

    No update on this? I know it hasn’t been terribly long, but I need to get some dates blocked out on a calendar as soon as possible.

    The calendar ‘looks nice’ on the web page but it is useless at this point without being able to even post any dates as booked in the admin panel.

    same here, the option is checked. But no overlap possible (checkou/checkin). Also: the plugin is gone from the wordpress plugin page.. so any support ?

    Thread Starter spraker

    (@spraker)

    Yep, looks like the developer has deleted the plugin from the WordPress site. Must have decided that there has been too many problems with it or something and is no longer going to put out any updates.

    Another dead plugin unfortunately. This plugin was perfect for what we needed with just a simple calendar showing dates booked for a vacation rental.. just too bad it never would let us get past this error to actually put anything in the calendar.

    Thread Starter spraker

    (@spraker)

    So, I am trying to fix this myself.

    While I cannot say that this is the best solution, I have found a line of code causing the problem. I am knowledgeable in PHP programming so I took some time to debug this.

    For my use, the site is a vacation rental site. Visitors cannot request dates using this calendar or do anything with it.

    Only the website owner can add new bookings from the admin panel. Please keep that in mind if you use my “fix” for the initial issue at hand. This fix is problematic with the fact that it will let you overbook if you have only one “room”.

    I suspect that the original creator fixed it one way – then it broke the next and that may have been why the decided to pull the plug on this plugin.

    Anyways, simple fix:

    Go into the wp-content/plugins/jm-avail-booking/includes/availabilitybookingfunctions.php file. Search for this line:

    return ‘1000’;

    Should be on line 226. Simply put to slash marks in front of it:

    //

    So the line will be:

    // return ‘1000’;

    Then save the file. You will now be able to put stuff in the calendar.

    I can confirm the fix works. Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Checkin or Checkout overlaps another booking’ is closed to new replies.