
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Troubleshooting | 79mplus</title>
	<atom:link href="https://www.79mplus.com/project_category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.79mplus.com</link>
	<description>Top-Tier WordPress Development Company for Custom, Scalable Solutions</description>
	<lastBuildDate>Fri, 09 Nov 2018 04:17:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.1</generator>

<image>
	<url>https://www.79mplus.com/assets/cropped-favicon2-32x32.png</url>
	<title>Troubleshooting | 79mplus</title>
	<link>https://www.79mplus.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Troubleshooting Booking Calendar when Next Day is Booked</title>
		<link>https://www.79mplus.com/project/troubleshooting-booking-calendar/</link>
					<comments>https://www.79mplus.com/project/troubleshooting-booking-calendar/#respond</comments>
		
		<dc:creator><![CDATA[79mplus Admin]]></dc:creator>
		<pubDate>Mon, 06 Aug 2018 03:37:56 +0000</pubDate>
				<guid isPermaLink="false">https://www.79mplus.com/?post_type=project&#038;p=496568</guid>

					<description><![CDATA[<p><a rel="nofollow" href="https://www.79mplus.com">79mplus</a><br />
<img src="https://www.79mplus.com/assets/booking-fix-featured.jpg" style="display: block; margin: 1em auto"><br />
<a rel="nofollow" href="https://www.79mplus.com/project/troubleshooting-booking-calendar/">Troubleshooting Booking Calendar when Next Day is Booked</a></p>
<p>The post <a rel="nofollow" href="https://www.79mplus.com/project/troubleshooting-booking-calendar/">Troubleshooting Booking Calendar when Next Day is Booked</a> appeared first on <a rel="nofollow" href="https://www.79mplus.com">79mplus</a> and is written by <a rel="nofollow" href="https://www.79mplus.com/author/79mplus_admin/">79mplus Admin</a></p>
]]></description>
										<content:encoded><![CDATA[<p><a rel="nofollow" href="https://www.79mplus.com">79mplus</a><br />
<img src="https://www.79mplus.com/assets/booking-fix-featured.jpg" style="display: block; margin: 1em auto"><br />
<a rel="nofollow" href="https://www.79mplus.com/project/troubleshooting-booking-calendar/">Troubleshooting Booking Calendar when Next Day is Booked</a></p>
<p><div class="et_pb_section et_pb_section_0 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_post_title et_pb_post_title_0 et_pb_bg_layout_light  et_pb_text_align_center"   >
				
				
				
				
				
				<div class="et_pb_title_container">
					<h1 class="entry-title">Troubleshooting Booking Calendar when Next Day is Booked</h1>
				</div>
				
			</div><div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_center et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><div class="project_categories mplus"><a href="https://www.79mplus.com/project_category/anything-backend">Anything Backend</a>, <a href="https://www.79mplus.com/project_category/custom-plugin-development">Custom Plugin Development</a>, <a href="https://www.79mplus.com/project_category/plugin-customization">Plugin Customization</a>, <a href="https://www.79mplus.com/project_category/plugins">Plugins</a>, <a href="https://www.79mplus.com/project_category/project">Project</a>, <a href="https://www.79mplus.com/project_category/troubleshooting">Troubleshooting</a>, <a href="https://www.79mplus.com/project_category/woocommerce-booking">WooCommerce Booking</a>, <a href="https://www.79mplus.com/project_category/wordpress">WordPress</a></div></div>
			</div><div class="et_pb_module et_pb_image et_pb_image_0 et_animated et-waypoint">
				
				
				
				
				<span class="et_pb_image_wrap "><img fetchpriority="high" decoding="async" width="1100" height="480" src="https://www.79mplus.com/assets/resume-banner-1.jpg" alt="" title="Troubleshooting Booking Calendar when Next Day is Booked" srcset="https://www.79mplus.com/assets/resume-banner-1.jpg 1100w, https://www.79mplus.com/assets/resume-banner-1-300x131.jpg 300w, https://www.79mplus.com/assets/resume-banner-1-768x335.jpg 768w, https://www.79mplus.com/assets/resume-banner-1-1024x447.jpg 1024w, https://www.79mplus.com/assets/resume-banner-1-1080x471.jpg 1080w, https://www.79mplus.com/assets/resume-banner-1-510x223.jpg 510w" sizes="(max-width: 1100px) 100vw, 1100px" class="wp-image-496589"></span>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_1 et_pb_with_background et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_1">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_dark">
				
				
				
				
				<div class="et_pb_text_inner"><h2>Challenge</h2>
<p>Our client was selling a service based on booking in advance. They were using Booked plugin by Boxy Studio for this feature. Unfortunately it was not working properly for them. The problem was that when someone books a full day, the previous day cannot be booked. The previous day appears as unbookable or &#8220;blocked&#8221;. It was a strange problem that got us worried what could be causing this. We took the job and started troubleshooting.</p>
<p><strong>Our task mainly was to:</strong></p>
<ul>
<li>Test to see if the problem really exists</li>
<li>Check if it&#8217;s caused due to misconfiguration</li>
<li>Isolate the problem and see if the problem persists</li>
<li>Find the reference code for the feature and investigate</li>
<li>Prepare a fix plugin without editing the core files (as much as possible)</li>
<li>Implement to client&#8217;s situation and test</li>
</ul></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_2 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_2">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_center et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h1>Our Solution</h1>
<p>The problem was simple, but we had to dig in deep into the code to get the solution.</p>
<p>Here’s how we solved the problem:</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_3">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_3  et_pb_css_mix_blend_mode_passthrough">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Replication &amp; Configuration</h3>
<p>We applied the steps client pointed out and was able to replicate the issue. We tried in many ways a user can book the plugin and even tried some tricks with browser devtool, but it did not help. We looked into configuration to check if it is correct. We found no faults there.</p></div>
			</div>
			</div><div class="et_pb_column et_pb_column_1_3 et_pb_column_4  et_pb_css_mix_blend_mode_passthrough">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Isolation Test</h3>
<p>We setup a separate installation with just the minimum plugins to mimic the setup. We configured it like our client site and ran similar tests. This is to see if some other plugin was causing the issue. The result was not so hopefull. We got the same result as our client site. We have fiddled with configuration but it got us nowhere.</p></div>
			</div>
			</div><div class="et_pb_column et_pb_column_1_3 et_pb_column_5  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Diving into Code</h3>
<p>We started looking into the code. It is the first time the project has seen some lights. We found out there was a mistake in the plugin code when it sets the time for the full day booking. It books the full day event starting 1 minute early from the previous day. So the calendar thinks that the day is not bookable for a full day booking.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_4">
				<div class="et_pb_column et_pb_column_1_3 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Prepare a Fix</h3>
<p>We tried some manual editing on MySQL database directly and increased the start time by 1 minute. And our investigation turned out to be fruitful. With the result from our investigation we found out that a fix is not possible without editing the plugin files. We edited and added a hook and modified the time values with that hook from our fix plugin so that editing is minimal as possible.</p></div>
			</div>
			</div><div class="et_pb_column et_pb_column_1_3 et_pb_column_7  et_pb_css_mix_blend_mode_passthrough">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Test Scenarios</h3>
<p>We copied our client site, implemented our fix and tested. We tested with multiple scenarios as much as we could. At the end, our fix was successful. It solved the problem perfectly.</p></div>
			</div>
			</div><div class="et_pb_column et_pb_column_1_3 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child et_pb_column_empty">
				
				
				
				
				
			</div>
				
				
				
				
			</div>
				
				
			</div><div class="et_pb_section et_pb_section_3 et_pb_with_background et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_5">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_9  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_image et_pb_image_1 et_animated et-waypoint">
				
				
				
				
				<a href="https://www.79mplus.com/assets/booked-fix-project-image-bi.jpg"><span class="et_pb_image_wrap "><img decoding="async" width="800" height="564" src="https://www.79mplus.com/assets/booked-fix-project-image-bi.jpg" alt="" title="Troubleshooting Booking Calendar when Next Day is Booked" srcset="https://www.79mplus.com/assets/booked-fix-project-image-bi.jpg 800w, https://www.79mplus.com/assets/booked-fix-project-image-bi-300x212.jpg 300w, https://www.79mplus.com/assets/booked-fix-project-image-bi-768x541.jpg 768w, https://www.79mplus.com/assets/booked-fix-project-image-bi-510x360.jpg 510w" sizes="(max-width: 800px) 100vw, 800px" class="wp-image-496587"></span></a>
			</div><div class="et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_center et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Putting it all together</h3>
<p>Finally we delivered the solution to the client. Although it needed plugin file edits, we tried to keep it minimal and let our fix plugin do the main thing. It got the job done and client&#8217;s site was working fine again.</p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a rel="nofollow" href="https://www.79mplus.com/project/troubleshooting-booking-calendar/">Troubleshooting Booking Calendar when Next Day is Booked</a> appeared first on <a rel="nofollow" href="https://www.79mplus.com">79mplus</a> and is written by <a rel="nofollow" href="https://www.79mplus.com/author/79mplus_admin/">79mplus Admin</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.79mplus.com/project/troubleshooting-booking-calendar/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
