Home › Forums › Calendar Products › Events Calendar PRO › Week/Photo View suddenly stopped showing events
- This topic has 8 replies, 5 voices, and was last updated 10 years, 5 months ago by
Geoff.
-
AuthorPosts
-
October 27, 2015 at 5:51 pm #1019126
Kristen
ParticipantWe have been operating for a few months now without changing our The Events Calendar theme, plugins, tags, filter settings, etc. However, today our site no longer shows events when we enable the Week and Photo views. I noticed that the Filter Bar doesn’t seem to be behaving properly anymore either as I can’t expand/collapse the filter settings when it is in horizontal mode across the top of the calendar.
The filter settings themselves seem to work if I show the calendar in Month View and configure the filter in vertical mode which leaves everything expanded.
I haven’t disabled my plugins yet because this is our live site and I’m not sure how to do that without jeopardizing the rest of our data. Is there an error log within the plugin I could look at to see where things are going south?
October 27, 2015 at 6:21 pm #1019139Brian
MemberHi,
Sorry again for the issues here.
We think we have found the problem and it is due to a change in the Google Maps API.
Please add the following snippet to your theme’s functions.php:
/**
* Null values in the geoloc estimates can cause breakages with the
* current Google Maps scripts; this helps to ensure that is avoided
* by effectively casting nulls to zeroes.
*
* @param array $geocords
*
* @return array
*/
function temp_fix_geocoords_breakage( $geocords ) {
return array_map( 'floatval', $geocords );
}
add_filter( 'transient_geoloc_center_point_estimation', 'temp_fix_geocoords_breakage' );Let me know if that fixes the issue until we can get a release out.
Thanks
October 27, 2015 at 10:40 pm #1019170Kristen
ParticipantThanks for the quick work Brian. We’re back up and running again with the fix you outlined.
October 28, 2015 at 6:22 am #1019241Kerry Sykes
ParticipantHave you got a release fixing this problem, I am having the same issue?
October 28, 2015 at 6:56 am #1019255Nathalie
ParticipantHello, I have the same issue. My photo viewer doesn’t work anymore. The page is totally blank. Is there a update that will fix this problem? I have change it to list view now because that is working fine but i bought this program because i needed the photo view so i really want to have this problem fixed.
I hope you can help me, thank you!October 28, 2015 at 6:58 am #1019257Brian
MemberHi holmfirthevents,
We just found the problem yesterday and the solution late last night so no release yet.
Adding that filter above does seem to fix the issue until we can get a release out.
Thanks
October 28, 2015 at 7:04 am #1019265Nathalie
ParticipantNow i noticed that my week and card view also isn’t working so there are 3 views (photo, card, and week view) not working.
October 28, 2015 at 7:13 am #1019304Brian
MemberHi Nathalie,
Have your tried the snippet here?
If that does not solve your problem can you please create a new thread so we can help you one on one with your issue.
Thanks
October 28, 2015 at 1:46 pm #1019533Geoff
MemberHey there!
Just a heads up that we released a patch for this issue just minutes ago in Events Calendar PRO 3.12.5. Please check it out and feel free to hit us back up if you come across any other issues.
Thanks for reporting this and for your patience while we worked on it!
Geoff
-
AuthorPosts
- The topic ‘Week/Photo View suddenly stopped showing events’ is closed to new replies.
