The Events Calendar Plugin 4.4 and above version drop down issue in admin while editing event

If you are reading this blog post. So I am expecting you’re a PHP developer and currently your are facing an issue in The Event Calendar Plugin.
The issue is The Event Calendar plugin drop down a select field is not working. When try to edit an event from admin. A Select field such as Event Location dropdown, Organizer dropdown.
Event locations are existing. But dropdown is not showing. For the issue, understanding check your browser console window first. If there any JQuery related message is displaying, than it is a similar issue which I faced.
Jquery bug looks something like this.

The event calendar jquery bug

This is the error.

The event calendar issue

Now let’s fix it.

File Name and Path: /wp-content/plugins/the-events-calendar/src/Tribe/Linked_Posts.php
Funtion Name: saved_linked_post_dropdown
Line Number: 893

if ( $linked_posts || $my_linked_posts ) {
	echo "&lt;input id="saved_" . esc_attr( $post_type ) . "" class="tribe-dropdown linked-post-dropdown" name="" . esc_attr( $name ) . "" type="hidden" data-placeholder="" . $placeholder . "" data-search-placeholder="" . $search_placeholder . "" data-freeform="" data-sticky-search="" data-create-choice-template="" . __( " /><%= term %>', 'the-events-calendar' ) . "'
		data-allow-html " : "" ) .
		"data-options='" . esc_attr( json_encode( $data ) ) . "'" .
		( empty( $current ) ? "" : " value='" . esc_attr( $current ) . "'" ) .
	">";
}

There is not a big change. But a simple change in if condition with PHP echo statement.
There a single quote by default. Update code and converts this to double quote.

I know, definitely, you want to ask why this only. There an attribute is data-option. Which return JSON format value. But due to attribute double quote and JSON format double quote generate issue in JQuery statement. I know, this is a small change, but the big mistake by a prime plugin development team.

After place, this code your dropdown issue will fix. Event dropdown will work like this.

The event calendar issue fix