Unexpected Blocks Still Occurring After 3.10.7 Version

Support forumCategory: BugsUnexpected Blocks Still Occurring After 3.10.7 Version
wukutuphane asked 1 year ago
Hi Nikola, The problem with unexpected slots persists even after I upgraded to latest version. Could you please help us with this? Since the system shows slots as unavailable while they are actually free, we lose revenue everyday.  Here is our reservation webpage: https://www.work-up.com.tr/rezervasyon/ I tried both form styles. And I confirm there is not block before or after set in the settings.  Thank you  
1 Answers
Nikola Loncar Staff answered 1 year ago
Hi, can you please tell me which combination to look for. There are a lot of options to select? Best regards, Nikola
gerardo_rojas replied 1 year ago

It seems the problem is around this area. This are my changes:

//if (($slot_time_end + $block_after * 60) <= $lower_time || $upper_time slots_logic->is_exclusive_mode() && $this->slots_logic->is_provider_is_busy($app, $location, $service)) {
// $slots[$temp_time] = 0;
// continue;
// }

// Cross time – remove one slot
// $slots[$temp_time] = $value – 1;
//}

if (($slot_time) < $lower_time || $upper_time slots_logic->is_exclusive_mode() && $this->slots_logic->is_provider_is_busy($app, $location, $service)) {
$slots[$temp_time] = 0;
continue;
}

// Cross time – remove one slot
$slots[$temp_time] = $value – 1;
}

The check for overlapping times is done when the block before is clicked.