Week/Photo View suddenly stopped showing events

Home Forums Calendar Products Events Calendar PRO Week/Photo View suddenly stopped showing events

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1019126
    Kristen
    Participant

    We 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?

    #1019139
    Brian
    Member

    Hi,

    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

    #1019170
    Kristen
    Participant

    Thanks for the quick work Brian. We’re back up and running again with the fix you outlined.

    #1019241
    Kerry Sykes
    Participant

    Have you got a release fixing this problem, I am having the same issue?

    #1019255
    Nathalie
    Participant

    Hello, 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!

    #1019257
    Brian
    Member

    Hi 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

    #1019265
    Nathalie
    Participant

    Now i noticed that my week and card view also isn’t working so there are 3 views (photo, card, and week view) not working.

    #1019304
    Brian
    Member

    Hi Nathalie,

    Have your tried the snippet here?

    Week/Photo View suddenly stopped showing events

    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

    #1019533
    Geoff
    Member

    Hey 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

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Week/Photo View suddenly stopped showing events’ is closed to new replies.