Google map is not showing

I’ve noticed that Google map is missing on events page when I have an apostrophe in the title of event. How can I fix this?

Please follow these instructions:

1. open header-gmap.php

2. find this line:

title: '<?php echo $post->post_title; ?>'

and change it to read:

title: "<?php echo $post->post_title; ?>"

(change apostrophe with double quotations marks)

3. save

0