Photo and Week views not working

Home Forums Calendar Products Events Calendar PRO Photo and Week views not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1018757
    Kelly
    Participant

    Suddenly, the photo and week view are not showing any events. Other views seem ok.

    #1018870
    Brian
    Member

    Hi,

    Sorry for the issues you are having. I can help troubleshoot this with you.

    I could not replicate the issue on my test site, but on the Photo View I see different coding in the source code that might be causing this.

    The events are there, but some css is hiding the events.

    Do you have any templates in your theme in this directory:

    yourtheme/tribe-events/pro/photo/

    or here:

    yourtheme/tribe-events/pro/week/

    If so you may have to update the custom templates with the latest version found in the plugin here:

    plugins/events-calendar-pro/src/views/pro/photo/

    Let me know what you find out and we can go from here.

    Thanks

    #1018901
    Brian
    Member

    Hi,

    I am still not sure of the cause so please let me know what you find out.

    Try adding this css to fix the photo view though:

    #tribe-events-content-wrapper #tribe-events-photo-events {
    opacity: 1;
    }

    Add that css to your theme’s stylesheet or through a plugin such as Simple Custom CSS.

    Let me know if that helps.

    Thanks

    #1019133
    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

    #1019526
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Photo and Week views not working’ is closed to new replies.